mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-12-22 11:00:47 +01:00
Add support for esp32c6
This commit is contained in:
parent
1786d0ede3
commit
2ea0f26de0
3 changed files with 7 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
# https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html
|
||||
# for details.
|
||||
idf_ver: ["release-v4.4", "release-v5.1"]
|
||||
idf_target: ["esp32", "esp32s3", "esp32c3"]
|
||||
idf_target: ["esp32", "esp32s3", "esp32c3", "esp32c6"]
|
||||
example:
|
||||
- Advanced/NimBLE_Client
|
||||
- Advanced/NimBLE_Server
|
||||
|
@ -32,6 +32,8 @@ jobs:
|
|||
example: Bluetooth_5/NimBLE_extended_server
|
||||
- idf_target: "esp32"
|
||||
example: Bluetooth_5/NimBLE_multi_advertiser
|
||||
- idf_ver: release-v4.4
|
||||
idf_target: esp32c6
|
||||
|
||||
container: espressif/idf:${{ matrix.idf_ver }}
|
||||
steps:
|
||||
|
|
|
@ -29,6 +29,7 @@ idf_component_register(
|
|||
"esp32"
|
||||
"esp32s3"
|
||||
"esp32c3"
|
||||
"esp32c6"
|
||||
INCLUDE_DIRS
|
||||
"src"
|
||||
SRCS
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
# include "esp_bt.h"
|
||||
# include "nvs_flash.h"
|
||||
# if defined(CONFIG_NIMBLE_CPP_IDF)
|
||||
# include "esp_nimble_hci.h"
|
||||
# if (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0) || CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE)
|
||||
# include "esp_nimble_hci.h"
|
||||
# endif
|
||||
# include "nimble/nimble_port.h"
|
||||
# include "nimble/nimble_port_freertos.h"
|
||||
# include "host/ble_hs.h"
|
||||
|
|
Loading…
Reference in a new issue