18 Commits (c8a687a8fa696a2c8ce46b36d5e14322bb1cd526)

Author SHA1 Message Date
David Lechner 259d9b69fe py/mpstate: Schedule KeyboardInterrupt on main thread. 4 years ago
David Lechner ca920f7218 py/mpstate: Make exceptions thread-local. 4 years ago
Damien George e9e9c76ddf all: Rename mp_keyboard_interrupt to mp_sched_keyboard_interrupt. 4 years ago
Jim Mussared 4559bcb467 unix: Make mp_hal_delay_ms run MICROPY_EVENT_POLL_HOOK. 4 years ago
Damien George 905a18aafe unix,windows: Implement mp_hal_time_ns using gettimeofday. 4 years ago
Damien George ee50a6effe py/mphal.h: Introduce mp_hal_time_ns and implement on various ports. 4 years ago
David Lechner 9418611c8a unix: Implement PEP 475 to retry syscalls failing with EINTR. 5 years ago
David Lechner 3b07736b6d unix,windows: Use STDIN_FILENO, STDOUT_FILENO macros where appropriate. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 73670ef281 unix/unix_mphal: Adjust #if in mp_hal_stdin_rx_chr to improve format. 5 years ago
Damien George 046ae80bdf unix, windows: Use mp_keyboard_interrupt instead of custom code. 5 years ago
David Lechner d89ed3e62b unix/unix_mphal: Add compile check for incompatible GIL+ASYNC_KBD_INTR. 5 years ago
David Lechner fee7e5617f unix: Release GIL during all system calls. 5 years ago
Paul m. p. P 42d30c5baf unix/unix_mphal: Include time.h for CLOCK_MONOTONIC. 5 years ago
Mikhail Zakharov ced340d739 unix/unix_mphal: Use CLOCK_MONOTONIC for ticks_ms/us when available. 6 years ago
Damien George 37282f8fc1 extmod/uos_dupterm: Update uos.dupterm() and helper funcs to have index. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 6c564aa408 unix, windows: Use core-provided KeyboardInterrupt exception object. 8 years ago
Paul Sokolovsky b580958216 unix/unix_mphal: Implement mp_hal_ticks_us(). 9 years ago
Paul Sokolovsky 13394a632d unix/unix_mphal: Hack to make uos.dupterm() actually work. 9 years ago
Paul Sokolovsky 98f7729848 unix/unix_mphal: Be sure to wrap dupterm code with MICROPY_PY_OS_DUPTERM. 9 years ago
Paul Sokolovsky 8fa9264430 unix/unix_mphal: Handle exceptions in call to dupterm's .read(). 9 years ago
Paul Sokolovsky 30b7344eb0 extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable. 9 years ago
Paul Sokolovsky 2c1620ce1f unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM. 9 years ago
Paul Sokolovsky 1c9210bc2b unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler. 9 years ago
Paul Sokolovsky 3c2b377711 unix/unix_mphal: Just consistently set sigaction.sa_flags to 0. 9 years ago
Paul Sokolovsky 3db2b23060 unix/unix_mphal: Properly initialize struct sigaction. 9 years ago
Damien George 7a5a4fe271 unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls. 9 years ago
Paul Sokolovsky 06f70973f7 unix/unix_mphal: Typo fix in comment. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Paul Sokolovsky 404dae80a9 unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms(). 9 years ago
Paul Sokolovsky 949c5c9180 unix/unix_mphal: Implement HAL_Delay() and HAL_GetTick(). 9 years ago
Alex March c0035d1694 unix: Use MICROPY_HAL_H macro for header inclusion. 9 years ago
Damien George 9ae3fc6523 unix: Add option to use uPy readline, and enable by default. 10 years ago
Damien George 4a10214be2 unix: Factor out stdio and ctrl-C code to unix_mphal.c file. 10 years ago
Damien George 43ea73faa6 pic16bit: Initial version of port to 16-bit PIC family. 10 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 10 years ago
Damien George 075d597464 esp8266: New port of Micro Python to ESP8266 wifi module. 10 years ago