summaryrefslogtreecommitdiffstatshomepage
path: root/stm/pyexec.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-16 21:36:03 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-16 21:36:03 +0000
commit754a8dd82767485bdf983a3272d9a8d7a0d23ec8 (patch)
tree48d664779fb3764a89303915809512c66f987724 /stm/pyexec.h
parente4758ad2e2b027d3bcbe8b1bfe17087665dbafd0 (diff)
downloadmicropython-754a8dd82767485bdf983a3272d9a8d7a0d23ec8.tar.gz
micropython-754a8dd82767485bdf983a3272d9a8d7a0d23ec8.zip
stm: Put REPL functions in own file; add raw REPL mode.
Raw REPL mode is activated by CTRL-A, and allows you to more easily communicate with the pyboard over the serial channel. In particular, automated communication using, eg, pyserial on the PC side.
Diffstat (limited to 'stm/pyexec.h')
-rw-r--r--stm/pyexec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stm/pyexec.h b/stm/pyexec.h
new file mode 100644
index 0000000000..3d28ec5cef
--- /dev/null
+++ b/stm/pyexec.h
@@ -0,0 +1,5 @@
+void pyexec_raw_repl(void);
+void pyexec_repl(void);
+bool pyexec_file(const char *filename);
+
+mp_obj_t pyb_set_repl_info(mp_obj_t o_value);