Complete RL78/G14 demo.

This commit is contained in:
Richard Barry
2013-03-17 12:12:20 +00:00
parent 3b1ff85222
commit c79a5fe50c
7 changed files with 702 additions and 302 deletions
@@ -122,12 +122,12 @@ to exclude the API function. */
#define INCLUDE_vTaskDelete 0
#define INCLUDE_vTaskCleanUpResources 0
#define INCLUDE_vTaskSuspend 1
#define INCLUDE_vTaskDelayUntil 0
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1
#define INCLUDE_xTaskGetIdleTaskHandle 0
#define INCLUDE_xTimerGetTimerDaemonTaskHandle 0
#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled()
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
#endif /* FREERTOS_CONFIG_H */
@@ -144,7 +144,7 @@ unsigned long *pulLocal;
/* Write in the parameter value. */
pulLocal = ( unsigned long * ) pxTopOfStack;
*pulLocal = ( unsigned long ) pvParameters;
*pulLocal = ( portSTACK_TYPE ) pvParameters;
pxTopOfStack--;
/* These values are just spacers. The return address of the function
@@ -19,8 +19,6 @@
void HardwareSetup( void )
{
unsigned char ucResetFlag = RESF;
portDISABLE_INTERRUPTS();
/* Set fMX */
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -8,7 +8,7 @@
/* */
/* This file is generated by e2studio. */
/* */
/***********************************************************************/
/***********************************************************************/
#include "interrupt_handlers.h"
@@ -16,9 +16,8 @@ extern void PowerON_Reset( void );
extern void vPortTickISR( void );
extern void vPortYield( void );
#warning Check the options bytes.
const unsigned char Option_Bytes[] __attribute__ ((section (".option_bytes"))) = {
0x6e, 0xff, 0xe8, 0x85 /* 0x00U, 0xFFU, 0xF8U, 0x81U */
0x6e, 0xff, 0xe8, 0x85
};
const unsigned char Security_Id[] __attribute__ ((section (".security_id"))) = {