Skip to content

Commit

Permalink
[msp430] blink! But system calls from hooks won't work :/
Browse files Browse the repository at this point in the history
  • Loading branch information
mbriday committed Sep 19, 2019
1 parent 74de199 commit ca257ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
@@ -0,0 +1,7 @@
blink
build
*_exe
*.bin
*.map
build.py
make.py
4 changes: 2 additions & 2 deletions examples/msp430/msp430x/msp430fr5969/launchpad/blink/init.gdb
@@ -1,4 +1,4 @@
target remote localhost:2000
delete
b blink
c
b blink_function

1 change: 0 additions & 1 deletion machines/msp430/msp430x/tpl_sc_handler.S
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion machines/msp430/msp430x/tpl_startup.c
Expand Up @@ -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 ;
Expand Down

0 comments on commit ca257ba

Please sign in to comment.