That sounds right - on nrf5x they're defined in Bluetooth.c as well I believe?
You can add BLUETOOTH to ESP32.py's libraries list I believe, and USE_BLUETOOTH gets automatically added.
BLUETOOTH
ESP32.py
I'm surprised about needing to change bluetooth.h though - I managed to get a Linux build with USE_BLUETOOTH just by tweaking the .py file
bluetooth.h
.py
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That sounds right - on nrf5x they're defined in Bluetooth.c as well I believe?
You can add
BLUETOOTH
toESP32.py
's libraries list I believe, and USE_BLUETOOTH gets automatically added.I'm surprised about needing to change
bluetooth.h
though - I managed to get a Linux build with USE_BLUETOOTH just by tweaking the.py
file