summaryrefslogtreecommitdiffstatshomepage
path: root/stm/usb.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-21 09:56:56 +0100
committerDamien <damien.p.george@gmail.com>2013-10-21 09:56:56 +0100
commit4b6e85ca26ac9cacf578862688f3c2a77a9090a1 (patch)
tree5872f1d70b721861250c3f61cf1b70a2856f565d /stm/usb.h
parentfa2162bc77b22fd135fd059219191ac91449b3fa (diff)
downloadmicropython-4b6e85ca26ac9cacf578862688f3c2a77a9090a1.tar.gz
micropython-4b6e85ca26ac9cacf578862688f3c2a77a9090a1.zip
Try to get REPL working, but bug with CDC VCP...
Diffstat (limited to 'stm/usb.h')
-rw-r--r--stm/usb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/stm/usb.h b/stm/usb.h
index c5060a0107..14a0345c17 100644
--- a/stm/usb.h
+++ b/stm/usb.h
@@ -1,2 +1,5 @@
void usb_init();
-void usb_vcp_send(const char* str, int len);
+int usb_vcp_rx_any();
+char usb_vcp_rx_get();
+void usb_vcp_send_str(const char* str);
+void usb_vcp_send_strn(const char* str, int len);