29 lines
874 B
C
29 lines
874 B
C
/********************************************************************************
|
|
Startup Define Section
|
|
********************************************************************************/
|
|
|
|
// Comment out (please don't delete) the ones that do not apply
|
|
// to your code.
|
|
|
|
#define STARTUP_SECTION program
|
|
|
|
//#define PLL_MSEL 0xA // default = 0xA
|
|
//#define PLL_D 0x0 // default = 0x0
|
|
//#define PLL_LOCK_COUNT 0x200 //default = 0x200
|
|
|
|
//#define PLL_CSEL 0x0 // default = 0x0
|
|
//#define PLL_SSEL 0x5 // default = 0x5
|
|
|
|
//#define EN_EXC_FAIL_LED 0x2 // Got an exception in your code
|
|
|
|
//#define EN_PASS_LED 0x0 // Final Test Passed
|
|
//#define EN_FAIL_LED 0x1 // Final Test Failed
|
|
|
|
#define SYSCFG_VALUE 0x30 //Program this value into SYSCFG register
|
|
|
|
// #define RUN_USER // Otherwise code is run in supervisor mode
|
|
// ISR15 by default.
|
|
|
|
// #define EN_SDRAM
|
|
|