diff options
| author | Damien George | 2014-02-23 00:31:11 +0000 |
|---|---|---|
| committer | Damien George | 2014-02-23 00:31:11 +0000 |
| commit | 790eed6f93dc12df40715ad1062b5ce01badcbd9 (patch) | |
| tree | e5016be46f1cc5cfa3be763f25a9ca2be03f1782 /stm/main.c | |
| parent | ee462489f1da5ea332851843d10541594f6fc7b0 (diff) | |
stm: Make pendsv_nlr_jump work when debugging is enabled.
Stack layout is different when -g used, so need to handle the pendsv
jump differently. Addresses Issue #315.
Diffstat (limited to 'stm/main.c')
| -rw-r--r-- | stm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c index 4fed5850a..2757e7665 100644 --- a/stm/main.c +++ b/stm/main.c @@ -355,7 +355,7 @@ int main(void) { storage_init(); // uncomment these 2 lines if you want REPL on USART_6 (or another usart) as well as on USB VCP - //pyb_usart_global_debug = PYB_USART_3; + //pyb_usart_global_debug = PYB_USART_YA; //usart_init(pyb_usart_global_debug, 115200); int first_soft_reset = true; |
