mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Added YRDKRL78G14 build configuration to the IAR RL78 demo.
This commit is contained in:
parent
a5d0e3f0c1
commit
17bba16fa6
12 changed files with 1389 additions and 213 deletions
|
@ -58,9 +58,6 @@
|
|||
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
#if __CORE__ != __RL78_1__
|
||||
#error "This file is only for RL78 Devices"
|
||||
#endif
|
||||
|
||||
; Functions implemented in this file
|
||||
;------------------------------------------------------------------------------
|
||||
|
@ -68,9 +65,11 @@
|
|||
PUBLIC vRegTest1
|
||||
PUBLIC vRegTest2
|
||||
|
||||
; Functions used by this file
|
||||
; Functions and variables used by this file
|
||||
;------------------------------------------------------------------------------
|
||||
EXTERN vRegTestError
|
||||
EXTERN usRegTest1LoopCounter
|
||||
EXTERN usRegTest2LoopCounter
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Fill all the registers with known values, then check that the registers
|
||||
|
@ -146,6 +145,9 @@ loop1:
|
|||
|
||||
#endif
|
||||
|
||||
; Indicate that this task is still cycling.
|
||||
INCW usRegTest1LoopCounter
|
||||
|
||||
MOVW AX, #0x1122
|
||||
BR loop1
|
||||
|
||||
|
@ -207,6 +209,9 @@ loop2:
|
|||
|
||||
#endif
|
||||
|
||||
; Indicate that this task is still cycling.
|
||||
INCW usRegTest2LoopCounter
|
||||
|
||||
MOVW AX, #0x99aa
|
||||
BR loop2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue