Jason2866 / platform-espressif32

Tasmota Espressif 32: development platform for PlatformIO

Home Page:http://platformio.org/platforms/espressif32

Repository from Github https://github.comJason2866/platform-espressif32Repository from Github https://github.comJason2866/platform-espressif32

fails to compile c6 with ninmble if we set advertisement flag

hlima opened this issue · comments

I have been using nimble with c6 but now I wanted to add notification capability. Once I enable this capability, the build fails. Here is my ini file:

`

[env:ble_notif_esp32C6]
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53
board = xiao_esp32c6
framework = arduino
build_flags = ${env.build_flags} -D FAVERO_BRIDGE_BOX=1 -Iinclude -Ilib -D SOC_WIFI_SUPPORTED=1 -D MRESP32C6=1 -D MR_XIAOC6_V1=1
-D CONFIG_BT_NIMBLE_EXT_ADV=1
lib_deps =
ricaun/ArduinoUniqueID@^1.3.0
sstaub/TickTwo@^4.4.0
h2zero/NimBLE-Arduino
build_src_filter = +<../tests/ble_notif/*>
`

Without the -D CONFIG_BT_NIMBLE_EXT_ADV=1 it compiles fine.

And why should this be an issue of the Platform? Btw. h2zero NimBLE Arduino is not supported in this fork.
Use pioarduino if you want to use BLE (NimBLE). This fork is a special build for Tasmota.