|
|
@ -82,6 +82,11 @@
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
extern uint32_t SystemCoreClock;
|
|
|
|
extern uint32_t SystemCoreClock;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* The following definition allows the startup files that ship with the IDE
|
|
|
|
|
|
|
|
to be used without modification when the chip used includes the PMU CM001
|
|
|
|
|
|
|
|
errata. */
|
|
|
|
|
|
|
|
#define WORKAROUND_PMU_CM001 1
|
|
|
|
|
|
|
|
|
|
|
|
#define configUSE_PREEMPTION 1
|
|
|
|
#define configUSE_PREEMPTION 1
|
|
|
|
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
|
|
|
|
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
|
|
|
|
#define configUSE_IDLE_HOOK 0
|
|
|
|
#define configUSE_IDLE_HOOK 0
|
|
|
@ -155,11 +160,14 @@ header file. */
|
|
|
|
|
|
|
|
|
|
|
|
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
|
|
|
|
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
|
|
|
|
standard names. */
|
|
|
|
standard names. */
|
|
|
|
|
|
|
|
#if WORKAROUND_PMU_CM001 == 1
|
|
|
|
|
|
|
|
#define xPortPendSVHandler PendSV_Handler_Veneer
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define xPortPendSVHandler PendSV_Handler
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#define vPortSVCHandler SVC_Handler
|
|
|
|
#define vPortSVCHandler SVC_Handler
|
|
|
|
#define xPortPendSVHandler PendSV_Handler
|
|
|
|
|
|
|
|
#define xPortSysTickHandler SysTick_Handler
|
|
|
|
#define xPortSysTickHandler SysTick_Handler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Demo application specific settings. */
|
|
|
|
/* Demo application specific settings. */
|
|
|
|
#if UC_ID == 4502
|
|
|
|
#if UC_ID == 4502
|
|
|
|
/* Hardware includes. */
|
|
|
|
/* Hardware includes. */
|
|
|
|