micropython/ports/unix
stijn 25c4563f26 examples: Add example code for user C modules, both C and C++.
Add working example code to provide a starting point for users with files
that they can just copy, and include the modules in the coverage test to
verify the complete user C module build functionality.  The cexample module
uses the code originally found in cmodules.rst, which has been updated to
reflect this and partially rewritten with more complete information.
2020-10-29 15:30:42 +11:00
..
variants examples: Add example code for user C modules, both C and C++. 2020-10-29 15:30:42 +11:00
.gitignore
Makefile esp32,unix: Support building C++ code. 2020-10-29 15:29:50 +11:00
alloc.c
coverage.c
coveragecpp.cpp esp32,unix: Support building C++ code. 2020-10-29 15:29:50 +11:00
fatfs_port.c unix/fatfs_port: Fix month offset in timestamp calculation. 2020-09-02 00:19:06 +10:00
gccollect.c all: Factor gchelper code to one place and use it for unix & ARM ports. 2020-04-29 23:45:19 +10:00
input.c
input.h
main.c esp32,unix: Support building C++ code. 2020-10-29 15:29:50 +11:00
modffi.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
modjni.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
modmachine.c unix/modmachine: Add machine.idle(), implemented using sched_yield. 2020-04-29 16:37:46 +10:00
modos.c unix/modos: Support larger integer range in uos.stat fields. 2020-09-01 12:36:28 +10:00
modtermios.c
modtime.c extmod/utime_mphal: Add generic utime.time_ns() function. 2020-10-01 14:20:42 +10:00
moduos_vfs.c
moduselect.c
modusocket.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
mpbthciport.c extmod/nimble: Add timeout for HCI sync on startup. 2020-09-08 12:53:24 +10:00
mpbtstackport.h unix: Implement BLE H4 HCI UART for btstack/nimble. 2020-09-08 12:53:24 +10:00
mpbtstackport_common.c extmod/modbluetooth: Implement configuration of address modes. 2020-09-08 12:53:24 +10:00
mpbtstackport_h4.c unix: Implement BLE H4 HCI UART for btstack/nimble. 2020-09-08 12:53:24 +10:00
mpbtstackport_usb.c extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
mpconfigport.h unix/mpconfigport.h: Enable MICROPY_PY_DELATTR_SETATTR. 2020-10-20 23:47:50 +11:00
mpconfigport.mk
mphalport.h unix: Add support for modbluetooth and BLE using btstack. 2020-04-29 16:45:46 +10:00
mpnimbleport.c unix: Implement BLE H4 HCI UART for btstack/nimble. 2020-09-08 12:53:24 +10:00
mpnimbleport.h unix: Implement BLE H4 HCI UART for btstack/nimble. 2020-09-08 12:53:24 +10:00
mpthreadport.c unix: Make the MICROPY_xxx_ATOMIC_SECTION mutex recursive. 2020-07-18 14:22:06 +10:00
mpthreadport.h
qstrdefsport.h
unix_mphal.c unix,windows: Implement mp_hal_time_ns using gettimeofday. 2020-10-01 14:20:42 +10:00