-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
be explicit about compatible architectures #200
base: master
Are you sure you want to change the base?
Conversation
Hi @gtalusan, what's the specific conflict? |
Hi @sandeepmistry, the ESP32 libraries have their own BLEPeripheral library. |
Ok, do you have the output from a compile? Since this library has already in the library manager for a few years, I suggest you ask them to rename to avoid the conflict. |
Sure, here's the output at this gist.. https://gist.github.com/gtalusan/693b511a5696723d393275e0074e4083 |
@sandeepmistry , I agree with @gtalusan . This library is specific to certain devices. No reason to block the namespace with names such as BLEPeripheral for other boards. |
I discussed this one with @cmaglie, the ESP BLE library should have a main include, something like "ESPBLE.h", that is included before the other includes. Then the Arduino Builder know what specific library folder to use for the other include headers. He tested changing the include order from:
to
and the Arduino Builder used the correct library. |
genius works can confirm this works for ide version 2.2.1!!! |
This library is conflicting with the ESP32's BLE library because of
architectures=*
. Setting architectures explicitly lets me compile for both nRF52 (RedBear BLE Nano 2) and ESP32.I'm unsure of the Teensy arch, or if it even uses library.properties, so this may need a bit of guidance.