mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Update the IAR RL78 demo to include main_blinky.c and main_full.c.
This commit is contained in:
parent
7fb22e27da
commit
b78fa80fbe
16 changed files with 952 additions and 305 deletions
|
@ -73,7 +73,8 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* This file defines the RegTest tasks as described at the top of main.c
|
||||
* This file defines the assembler wrapper for the example interrupt that is
|
||||
* defined in main.c. The wrapper is the interrupt entry point.
|
||||
*/
|
||||
|
||||
/* ISR_Support.h contains the definitions of portSAVE_CONTEXT() and
|
||||
|
|
|
@ -85,8 +85,8 @@
|
|||
#endif /* YRPBRL78G13 */
|
||||
|
||||
#ifdef YRDKRL78G14
|
||||
#define LED_INIT() PM4_bit.no1 = 0
|
||||
#define LED_BIT ( P4_bit.no1 )
|
||||
#define LED_INIT() PM4_bit.no1 = 0
|
||||
#endif /* YRDKRL78G14 */
|
||||
|
||||
#ifdef RSKRL78G1C
|
||||
|
|
|
@ -219,20 +219,5 @@ volatile size_t xFreeHeapSpace;
|
|||
/* Remove compiler warning about xFreeHeapSpace being set but never used. */
|
||||
( void ) xFreeHeapSpace;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vAssertCalled( void )
|
||||
{
|
||||
volatile unsigned long ul = 0;
|
||||
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
/* Set ul to a non-zero value using the debugger to step out of this
|
||||
function. */
|
||||
while( ul == 0 )
|
||||
{
|
||||
__asm volatile( "NOP" );
|
||||
}
|
||||
}
|
||||
taskEXIT_CRITICAL();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue