diff --git a/examples/msp430/msp430x/msp430fr5969/launchpad/blink/.gitignore b/examples/msp430/msp430x/msp430fr5969/launchpad/blink/.gitignore new file mode 100644 index 000000000..154c94b06 --- /dev/null +++ b/examples/msp430/msp430x/msp430fr5969/launchpad/blink/.gitignore @@ -0,0 +1,7 @@ +blink +build +*_exe +*.bin +*.map +build.py +make.py diff --git a/examples/msp430/msp430x/msp430fr5969/launchpad/blink/init.gdb b/examples/msp430/msp430x/msp430fr5969/launchpad/blink/init.gdb index eed210fcf..3bd168291 100644 --- a/examples/msp430/msp430x/msp430fr5969/launchpad/blink/init.gdb +++ b/examples/msp430/msp430x/msp430fr5969/launchpad/blink/init.gdb @@ -1,4 +1,4 @@ target remote localhost:2000 delete -b blink -c \ No newline at end of file +b blink_function + diff --git a/machines/msp430/msp430x/tpl_sc_handler.S b/machines/msp430/msp430x/tpl_sc_handler.S index 28715f421..30f5668e9 100644 --- a/machines/msp430/msp430x/tpl_sc_handler.S +++ b/machines/msp430/msp430x/tpl_sc_handler.S @@ -221,7 +221,6 @@ TIMER3_A0_Handler: mov @r11, r11 /* Get the pointer to the context (SP alone) */ mov @r11, r1 /* Get the stack pointer */ - sub #2, r1 /* need to push to match memory organization*/ popm.a #7, r10 /* Pop r4 to r10 */ tpl_TIMER3_A0_Handler_no_context_switch: diff --git a/machines/msp430/msp430x/tpl_startup.c b/machines/msp430/msp430x/tpl_startup.c index 6679a1a45..03634f507 100644 --- a/machines/msp430/msp430x/tpl_startup.c +++ b/machines/msp430/msp430x/tpl_startup.c @@ -27,7 +27,7 @@ void tpl_continue_reset_handler(void) * p = 0 ; p ++ ; } - ---------4- Init .data section + //---------4- Init .data section extern unsigned __data_start ; extern unsigned __data_end ; extern unsigned __data_load_start ;