mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-06 14:17:41 -04:00
Changes in common files:
Add additional asserts into timers.c. Trivial changes and changes in demo applications: RX113 IAR project is not building and running. Make FreeRTOS_SetupInterrupt() and FreeRTOS_ClearInterrupt() weak symbols in the Zynq SDK repository. Correct typo in the port layer comments that was cut and paste into multiple files.
This commit is contained in:
parent
b3f343fdae
commit
cd42d2c215
34 changed files with 262 additions and 1048 deletions
|
@ -70,8 +70,8 @@
|
|||
PUBLIC _vRegTest1Implementation
|
||||
PUBLIC _vRegTest2Implementation
|
||||
|
||||
EXTERN _ulRegTest1CycleCount
|
||||
EXTERN _ulRegTest2CycleCount
|
||||
EXTERN _ulRegTest1LoopCounter
|
||||
EXTERN _ulRegTest2LoopCounter
|
||||
|
||||
RSEG CODE:CODE(4)
|
||||
|
||||
|
@ -107,7 +107,7 @@ _vRegTest1Implementation:
|
|||
|
||||
/* Increment the loop counter to show this task is still getting CPU
|
||||
time. */
|
||||
MOV.L #_ulRegTest1CycleCount, R14
|
||||
MOV.L #_ulRegTest1LoopCounter, R14
|
||||
MOV.L [ R14 ], R15
|
||||
ADD #1, R15
|
||||
MOV.L R15, [ R14 ]
|
||||
|
@ -206,7 +206,7 @@ _vRegTest2Implementation:
|
|||
|
||||
/* Increment the loop counter to show this task is still getting CPU
|
||||
time. */
|
||||
MOV.L #_ulRegTest2CycleCount, R14
|
||||
MOV.L #_ulRegTest2LoopCounter, R14
|
||||
MOV.L [ R14 ], R15
|
||||
ADD #1, R15
|
||||
MOV.L R15, [ R14 ]
|
||||
|
|
|
@ -30,8 +30,13 @@
|
|||
/***********************************************************************************************************************
|
||||
Includes
|
||||
***********************************************************************************************************************/
|
||||
#include "../iodefine.h"
|
||||
//_RB_#include <machine.h>
|
||||
#ifdef __ICCRX__
|
||||
#include <iorx113.h>
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#include "../iodefine.h"
|
||||
#endif
|
||||
|
||||
/***********************************************************************************************************************
|
||||
Macro definitions (Register bit)
|
||||
|
|
|
@ -149,12 +149,6 @@ int main( void )
|
|||
|
||||
static void prvSetupHardware( void )
|
||||
{
|
||||
/* Set up SCI1 receive buffer */
|
||||
R_SCI1_Serial_Receive((uint8_t *) &g_rx_char, 1);
|
||||
|
||||
/* Enable SCI1 operations */
|
||||
R_SCI1_Start();
|
||||
|
||||
LED0 = LED_OFF;
|
||||
LED1 = LED_OFF;
|
||||
LED2 = LED_OFF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue