platform-nordicnrf52
platform-nordicnrf52 copied to clipboard
Board Request Seeedstudio XIAO BLE
Hi!,
I just started to play around with the XIAO BLE.
I got it to work with PlatformIO using this: https://medium.com/@alwint3r/working-with-seeed-xiao-ble-sense-and-platformio-ide-5c4da3ab42a3
It's basically:
- copy over the fork from seeedstudios mbed core to here: packages\framework-arduino-mbed
- and create a new board definition.
- also, add 2 lines to platformio.py.
I did a diff over the seeedstudio fork and it basically just adds their board variants without changing too much.
Would it be possible to do this also for the official platform-nordicnrf52 core? I don't understand the PlatformIO structure enough to create a custom core or something like that.
I can provide working code for BLE as well as the modified "packages\framework-arduino-mbed" and "platforms\nordicnrf52"

If anyone is interested in the modified platform core:
Here is my working PlatformIO Projekt with a BLE Server. The Modified core is in the res folder in the file [email protected]. Extract this to the package folder of the platform folder (under windows this is C:\Users[USER].platformio\packages\
Users also get it wrong following that tutorial, we need official support here.
As I said, the inclusion of the Modification of the Fork into the main branch where pretty straightforward if you are good with a diff tool. But you need to be brave enough to modify the platform code.
The Merged platform package i linked in my previous code still works. Inclusion into the main branch should be straightforward. If there was a an update to the nrf core i would offer to merge it again with the latest version. I'm not that experienced with pull requests on and forks otherwise i would have already created a fork that could be merged into here
They also do a hack where they increase the version number to 999 to force the usage of this version over others. This might cause problems