Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | unix/unix_mphal: Be sure to wrap dupterm code with MICROPY_PY_OS_DUPTERM. | Paul Sokolovsky | 2016-01-01 |
| | |||
* | unix/unix_mphal: Handle exceptions in call to dupterm's .read(). | Paul Sokolovsky | 2016-01-01 |
| | |||
* | extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable. | Paul Sokolovsky | 2016-01-01 |
| | | | | Function to actually spool output terminal data to dupterm object. | ||
* | unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM. | Paul Sokolovsky | 2015-12-28 |
| | |||
* | unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler. | Paul Sokolovsky | 2015-12-23 |
| | | | | | | | | POSIX doesn't guarantee something like that to work, but it works on any system with careful signal implementation. Roughly, the requirement is that signal handler is executed in the context of the process, its main thread, etc. This is true for Linux. Also tested to work without issues on MacOSX. | ||
* | unix/unix_mphal: Just consistently set sigaction.sa_flags to 0. | Paul Sokolovsky | 2015-12-18 |
| | |||
* | unix/unix_mphal: Properly initialize struct sigaction. | Paul Sokolovsky | 2015-12-17 |
| | | | | | | This solves long-standing non-deterministic bug, which manifested itself on x86 32-bit (at least of reported cases) - segfault on Ctrl+C (i.e. SIGINT). | ||
* | unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls. | Damien George | 2015-11-27 |
| | |||
* | unix/unix_mphal: Typo fix in comment. | Paul Sokolovsky | 2015-11-03 |
| | |||
* | all: Add py/mphal.h and use it in all ports. | Damien George | 2015-10-31 |
| | | | | | | py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations. | ||
* | unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms(). | Paul Sokolovsky | 2015-10-27 |
| | | | | | | | | These MPHAL functions are intended to replace previously used HAL_Delay(), HAL_GetTick() to provide better naming and MPHAL separation (they are fully equivalent otherwise). Also, refactor extmod/modlwip to use them. | ||
* | unix/unix_mphal: Implement HAL_Delay() and HAL_GetTick(). | Paul Sokolovsky | 2015-10-19 |
| | |||
* | unix: Use MICROPY_HAL_H macro for header inclusion. | Alex March | 2015-09-19 |
| | | | | | Follow the same format as other ports using the macro to include the HAL header. | ||
* | unix: Add option to use uPy readline, and enable by default. | Damien George | 2015-05-27 |
| | | | | | | This gets uPy readline working with unix port, with tab completion and history. GNU readline is still supported, configure using MICROPY_USE_READLINE variable. | ||
* | unix: Factor out stdio and ctrl-C code to unix_mphal.c file. | Damien George | 2015-05-27 |