summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-23 00:31:11 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-23 00:31:11 +0000
commit790eed6f93dc12df40715ad1062b5ce01badcbd9 (patch)
treee5016be46f1cc5cfa3be763f25a9ca2be03f1782 /stm/main.c
parentee462489f1da5ea332851843d10541594f6fc7b0 (diff)
downloadmicropython-790eed6f93dc12df40715ad1062b5ce01badcbd9.tar.gz
micropython-790eed6f93dc12df40715ad1062b5ce01badcbd9.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 4fed5850a6..2757e7665d 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;