From 790eed6f93dc12df40715ad1062b5ce01badcbd9 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 23 Feb 2014 00:31:11 +0000 Subject: 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. --- stm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm/main.c') 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; -- cgit v1.2.3