Closed Koxx3 closed 3 months ago
Please try enabling nimble in your config or adding my esp-nimble-component library to your components folder.
not sure I understand what you mean.
in sdkconfig, If I try to enable both (bluedroid & nimble), like this :
CONFIG_BT_BLUEDROID_ENABLED=y CONFIG_BT_NIMBLE_ENABLED=y => it automatically reset with only one of them.
and for the esp-nimble-component library; it is alread on the component folder as visible here :
did I do something wrong ?
Hello,
I am in a similar situation, trying to use nimble with both arduino and espidf frameworks. I am encountering a different error: components/esp-nimble-cpp-1.4.0/src/NimBLEDevice.cpp:52:12: fatal error: esp32-hal-bt.h: No such file or directory
I have attached a skeleton project that causes the issue. NimbleBuild.zip
This seems to be a problem with the CMakeLists when using both espidf and arduino frameworks.
Removing the condition if("arduino" IN_LIST BUILD_COMPONENTS OR __hack_component_targets MATCHES "__idf_arduino")
and appending framework-arduinoespressif32
rather than arduino
seems to resolve the issue
Fixed in #122
Hello, I used your very good lib with arduino only before, no trouble.
Now, I am migrating to IDF + ARDUINO with platformio.
It doesn't build.
platformio.ini
lib is placed in "components" folder :![image](https://user-images.githubusercontent.com/11454444/151458798-ef248595-52f3-4ebb-b56a-e3103d2e8aa3.png)
sdkconfig
build result