#define SVCall_Handler SVC_Handler in lpcxpresso startup for lpc175x_6x & lpc11uxx for better compatiable with other lib & toolchain.

added lpc176x xpresso with cmsis rtx
This commit is contained in:
hathach
2014-03-19 18:12:51 +07:00
parent eb5dd58b51
commit ce85e4d98f
15 changed files with 135 additions and 15 deletions
+2 -2
View File
@@ -73,7 +73,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>1</IsCurrentTarget>
<IsCurrentTarget>0</IsCurrentTarget>
</OPTFL>
<CpuCode>255</CpuCode>
<DllOpt>
@@ -341,7 +341,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>0</IsCurrentTarget>
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>255</CpuCode>
<DllOpt>
-6
View File
@@ -154,12 +154,6 @@ function can have. Note that lower priority have numerically higher values. */
standard names. */
#define xPortPendSVHandler PendSV_Handler
#define xPortSysTickHandler SysTick_Handler
#ifdef __CODE_RED // cr_startup_lpc176x.c use different name for SVC_Hanlder
#define vPortSVCHandler SVCall_Handler
#else
#define vPortSVCHandler SVC_Handler
#endif
#endif /* FREERTOS_CONFIG_H */