I ran into the same problem when trying to build a board without the BLUETOOTH module. To fix it, you need to edit the file make/family/ESP32.make and add this line after line 10: SOURCES += targets/esp32/jshardwareESP32.c.
BTW: Removing Bluetooth also reduces power consumption by around 40ma.
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.
I ran into the same problem when trying to build a board without the BLUETOOTH module. To fix it, you need to edit the file
make/family/ESP32.make
and add this line after line 10:SOURCES += targets/esp32/jshardwareESP32.c
.BTW: Removing Bluetooth also reduces power consumption by around 40ma.