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:
Richard Barry 2014-06-04 09:17:14 +00:00
parent 5cd0b1e5ef
commit 1130a53ec8
4 changed files with 76 additions and 31 deletions

View file

@ -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