Open afpineda opened 2 years ago
Hi @afpineda and thanks for your feedback,
Yes this project expects Mbed OS v5.x which I believe is the one used by the current Arduino IDE. While I also prefer PlatformIO I try to keep compatibility with Arduino as a priority.
I did not catch this issue on Sublime-Text and Deviot but your fix can become handy for others, thank you !
Edit : While I think about it I do have updated master a few days ago for an issue I'm working on but this should not have fixed any compilation errors. I certainly should have branch though.
Hi. Just to note: I tried to compile an empty project (just libraries) in VisualStudio Code and PlatformIO's IDE plugin. Previously, I downloaded and installed mbed-ble-hid using the builtin library manager. Then I came into some compilation errors and warnings at Mbed_BLE_HID.cpp.
The issue
PlatformIO's library manager seems to download an outdated version.
The workarround
I downloaded a fresh copy from this repository (master branch) to overwrite PlatformIO's files. Now, there are no compilation errors, but warnings: