Skip to content
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

Board Request Seeedstudio XIAO BLE #142

Open
savejeff opened this issue Mar 13, 2022 · 3 comments · May be fixed by #151
Open

Board Request Seeedstudio XIAO BLE #142

savejeff opened this issue Mar 13, 2022 · 3 comments · May be fixed by #151

Comments

@savejeff
Copy link

savejeff commented Mar 13, 2022

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"

image

@savejeff
Copy link
Author

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 framework-arduino-mbed@2.6.1.zip. Extract this to the package folder of the platform folder (under windows this is C:\Users[USER].platformio\packages\

Here the Project for Download

@maxgerhardt
Copy link
Contributor

maxgerhardt commented Jun 21, 2022

Users also get it wrong following that tutorial, we need official support here.

@savejeff
Copy link
Author

savejeff commented Jun 21, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants