File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -83,17 +83,17 @@ jobs:
8383
8484 build-for-esp32 :
8585 runs-on : ubuntu-latest
86-
86+
8787 strategy :
8888 matrix :
8989 fqbn :
9090 - esp32:esp32:esp32
9191 - esp32:esp32:esp32s3
9292 - 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
9496 # - esp32:esp32:esp32c2
95- # - esp32:esp32:esp32c6
96- # - esp32:esp32:esp32h2
9797
9898 steps :
9999 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ int HCIVirtualTransportClass::begin()
8080#if CONFIG_IDF_TARGET_ESP32
8181 bt_cfg.mode = ESP_BT_MODE_BLE; // original esp32 chip
8282#else
83+ #if !(CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2)
8384 bt_cfg.bluetooth_mode = ESP_BT_MODE_BLE; // different api for newer models
85+ #endif
8486#endif
8587
8688 esp_bt_controller_mem_release (ESP_BT_MODE_CLASSIC_BT);
You can’t perform that action at this time.
0 commit comments