Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP432P401R: MSP432 booting to c_int00

$
0
0
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

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>