File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -83,17 +83,17 @@ jobs:
83
83
84
84
build-for-esp32 :
85
85
runs-on : ubuntu-latest
86
-
86
+
87
87
strategy :
88
88
matrix :
89
89
fqbn :
90
90
- esp32:esp32:esp32
91
91
- esp32:esp32:esp32s3
92
92
- esp32:esp32:esp32c3
93
- # future bluetooth chips
93
+ - esp32:esp32:esp32c6
94
+ - esp32:esp32:esp32h2
95
+ # Not supported out of the box by ESP32 Arduino core
94
96
# - esp32:esp32:esp32c2
95
- # - esp32:esp32:esp32c6
96
- # - esp32:esp32:esp32h2
97
97
98
98
steps :
99
99
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ int HCIVirtualTransportClass::begin()
80
80
#if CONFIG_IDF_TARGET_ESP32
81
81
bt_cfg.mode = ESP_BT_MODE_BLE; // original esp32 chip
82
82
#else
83
+ #if !(CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2)
83
84
bt_cfg.bluetooth_mode = ESP_BT_MODE_BLE; // different api for newer models
85
+ #endif
84
86
#endif
85
87
86
88
esp_bt_controller_mem_release (ESP_BT_MODE_CLASSIC_BT);
You can’t perform that action at this time.
0 commit comments