Hi Dave, the code from startup_ msp432p401r _ccs.c (as generated by CCS) should do that for you. You can use this code snippet: #if defined(__GNUC__) /// Entry point for the application. extern int _mainCRTStartup(); #elif defined(__TI_ARM__) /// Entry point for the application. extern void _c_int00(void); #endif __attribute__((interrupt)) void Reset_Handler() { #if defined(__GNUC__) // Jump to the main initialization routine. _mainCRTStartup(); #elif defined(__TI_ARM__) // Jump to the CCS C Initialization Routine. __asm( " .global _c_int00\n" " b.w _c_int00"); #endif } This should work with the TI ARM compiler as well with GCC. Cheers, Dan
↧