mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Reverse order of projdefs.h and FreeRTOSConfig.h includes in FreeRTOS.h to allow addition of pdMS_TO_TICKS() macro.
Update RXv2 GCC port to match RXv2 Renesas port.
This commit is contained in:
parent
5cd0b1e5ef
commit
1130a53ec8
4 changed files with 76 additions and 31 deletions
|
@ -74,11 +74,7 @@
|
|||
/* Library includes. */
|
||||
#include "string.h"
|
||||
|
||||
/* Hardware specifics. */
|
||||
#include "r_cg_iodefine.h"
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
#define USE_FULL_REGISTER_INITIALISATION
|
||||
|
||||
/* Tasks should start with interrupts enabled and in Supervisor mode, therefore
|
||||
PSW is set with U and I set, and PM and IPL clear. */
|
||||
|
@ -324,7 +320,7 @@ static void prvYieldHandler( void )
|
|||
/* Save the rest of the general registers (R15 has been saved already). */
|
||||
PUSHM R1-R14
|
||||
|
||||
/* Save the FPSW and accumulator. */
|
||||
/* Save the FPSW and accumulators. */
|
||||
MVFC FPSW, R15
|
||||
PUSH.L R15
|
||||
MVFACGU #0, A1, R15
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue