Replies: 2 comments 2 replies
-
|
If you have the Pi Pico W board selected, PlatformIO should set the It appears that the ArduinoBLE library is not supported by the arduino-pico core, which is why you're seeing the errors you posted, but this is not the main cause. Please post the PlatformIO configuration you're using. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I can't seem to reproduce the issue. Here's the [env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 0m
build_flags = -DUSE_TINYUSB -DPIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH
lib_deps = https://github.com/tttapa/Control-Surface.git#main
lib_ignore = MIDIUSB
build_type = release |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm having a problem compiling the latest CS git to test BLE support with my Raspberry Pico W. I haven't been able to understand the cause of the problem after several hours so i'm posting here in case you can reproduce. The problem happens trying to compile a test project with platform.io:
Compiling .pio/build/raspicow/lib8cf/ArduinoBLE/utility/HCICordioTransport.cpp.o
.pio/libdeps/raspicow/ArduinoBLE/src/utility/HCICordioTransport.cpp:25:10: fatal error: driver/CordioHCITransportDriver.h: No such file or directory
25 | #include <driver/CordioHCITransportDriver.h>
If I "fix" include paths then the problem arises during linking:
/Users/hku/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: .pio/build/raspicow/lib8cf/libArduinoBLE.a(HCICordioTransport.cpp.o): in function
HCICordioTransportClass::end()': HCICordioTransport.cpp:(.text._ZN23HCICordioTransportClass3endEv+0x20): undefined reference toble_cordio_get_hci_driver()'/Users/hku/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: HCICordioTransport.cpp:(.text._ZN23HCICordioTransportClass3endEv+0x24): undefined reference to `ble::CordioHCIDriver::terminate()'
...
I'm using the latest versions of platform.io, Arduino BLE and such. Also the bluetooth stack is enabled during compilation:
https://arduino-pico.readthedocs.io/en/latest/platformio.html#bluetooth-stack
Thanks in advance for any feedback you may have on this issue
Beta Was this translation helpful? Give feedback.
All reactions