Jim Mussared
5d0be97bd9
unix: Make the MICROPY_xxx_ATOMIC_SECTION mutex recursive.
...
This mutex is used to make the unix port behave more like bare metal, i.e.
it allows "IRQ handlers" to run exclusively by making the mutex recursive.
2020-07-18 14:22:06 +10:00
Jim Mussared
3f77f2c60c
unix/btstack_usb: Allow choosing adaptor via environment variable.
...
This allows running (for example):
env MICROPYBTUSB=2-2 ./micropython-dev ../../examples/bluetooth/ble_temperature_central.py
2020-06-10 22:40:02 +10:00
Jim Mussared
ebfd9ff2e6
extmod/modbluetooth: Fix sign compare and unused variable warnings.
2020-04-29 16:54:12 +10:00
Jim Mussared
7563d58210
unix: Add support for modbluetooth and BLE using btstack.
...
This commit adds full support to the unix port for Bluetooth using the
common extmod/modbluetooth Python bindings. This uses the libusb HCI
transport, which supports many common USB BT adaptors.
2020-04-29 16:45:46 +10:00