IAR host freertos works with EA4357

This commit is contained in:
hathach
2014-03-06 12:51:16 +07:00
parent 301be3203c
commit f0e705c8da
9 changed files with 462 additions and 431 deletions

View File

@@ -54,10 +54,13 @@
#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
#include <stdint.h>
#ifndef __IASMARM__ // IAR assblemer portarm.s need to include this file but cannot understand <stdint.h>
#include <stdint.h>
extern uint32_t SystemCoreClock;
#endif
/*-----------------------------------------------------------
* Application specific definitions.
*
@@ -152,7 +155,7 @@ standard names. */
#define xPortPendSVHandler PendSV_Handler
#define xPortSysTickHandler SysTick_Handler
#ifdef __CODE_RED
#ifdef __CODE_RED // cr_startup_lpc176x.c use different name for SVC_Hanlder
#define vPortSVCHandler SVCall_Handler
#else
#define vPortSVCHandler SVC_Handler