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

Forum Post: RE: new update of code composer halt the program with exit.c file

$
0
0
Hi Chester, My program is bare-metal program without sys/bios This is code for my program, wherever i clicked resume when debugging, exit.c file opened by itself //***************************************************************************** // // MSP432 main.c template - Empty main // //**************************************************************************** #include "msp.h" void main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer P1DIR = 0X0020; P1OUT = 0X0020; } **I use void main so there will be no return value.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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