summaryrefslogtreecommitdiff
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-22 22:55:07 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-22 22:55:07 +0000
commitb5d13c309f00b0c959c0806c1ab11ba7a07c2cee (patch)
treee9f2a453b16edda613765f767ab69afdc4c9bf74 /stm/main.c
parent5fa93b67557f21c22a41449c3266571c427f6798 (diff)
stm: Fix USART3 init. Small edits to Makefile and other things.
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 8d2c2d6b3..acb76b012 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -754,7 +754,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_6;
+ //pyb_usart_global_debug = PYB_USART_3;
//usart_init(pyb_usart_global_debug, 115200);
int first_soft_reset = true;
@@ -921,6 +921,8 @@ soft_reset:
// USB host; not working!
//pyb_usbh_init();
+ //rt_store_name(qstr_from_str("u_p"), rt_make_function_n(0, pyb_usbh_process));
+ //rt_store_name(qstr_from_str("u_c"), rt_make_function_n(0, pyb_usbh_connect));
if (first_soft_reset) {
#if BOARD_HAS_MMA7660