Update the IAR RL78 demo to include main_blinky.c and main_full.c.

This commit is contained in:
Richard Barry 2013-03-17 16:52:39 +00:00
parent 7fb22e27da
commit b78fa80fbe
16 changed files with 952 additions and 305 deletions

View file

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

View file

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

View file

@ -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();
}