esp8266: Implement input part of dupterm handling.

The idea is following: underlying interrupt-driven or push-style data source
signals that more data is available for dupterm processing via call to
mp_hal_signal_dupterm_input(). This triggers a task which pumps data between
actual dupterm object (which may perform additional processing on data from
low-level data source) and input ring buffer.
This commit is contained in:
Paul Sokolovsky
2016-03-31 19:49:55 +03:00
parent 61fa7c8152
commit 98af891610
3 changed files with 62 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ void init_done(void) {
mp_reset();
mp_hal_stdout_tx_str("\r\n");
pyexec_event_repl_init();
dupterm_task_init();
}
void user_init(void) {