Skip to content

Commit 48bb1de

Browse files
authored
Merge pull request #1944 from espruino/esp32_improvement
allow to remove BLUETOOTH from ESP32 board files
2 parents 95a97e5 + 2ec51f4 commit 48bb1de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

make/family/ESP32.make

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ ESP32=1
77
CFLAGS+=-Og -Wpointer-arith -Wno-error=unused-function -Wno-error=unused-but-set-variable \
88
-Wno-error=unused-variable -Wall -ffunction-sections -fdata-sections -mlongcalls -nostdlib \
99
-MMD -MP -std=gnu99 -fstrict-volatile-bitfields -fgnu89-inline -mfix-esp32-psram-cache-issue
10-
SOURCES += targets/esp32/jshardware.c
11-
SOURCES += targets/esp32/esp32_neopixel.c
10+
SOURCES += targets/esp32/jshardware.c \
11+
targets/esp32/jshardwareESP32.c \
12+
targets/esp32/esp32_neopixel.c
1213
INCLUDE += -I$(ROOT)/targets/esp32
1314

1415
ifndef ESP_IDF_PATH
@@ -135,8 +136,7 @@ SOURCES+= targets/esp32/bluetooth.c \
135136
targets/esp32/BLE/esp32_bluetooth_utils.c \
136137
targets/esp32/BLE/esp32_gap_func.c \
137138
targets/esp32/BLE/esp32_gatts_func.c \
138-
targets/esp32/BLE/esp32_gattc_func.c \
139-
targets/esp32/jshardwareESP32.c
139+
targets/esp32/BLE/esp32_gattc_func.c
140140
INCLUDE+= -I$(ESP_IDF_PATH)/components/bt/bluedroid/include \
141141
-I$(ESP_IDF_PATH)/components/bt/bluedroid/api/include \
142142
-I$(ESP_IDF_PATH)/components/bt/bluedroid/bta/include \

0 commit comments

Comments
 (0)