Skip to content

feat: add Seeed XIAO nRF52840 BLE/Sense boards with SoftDevice S340 #360

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JuergenLeber
Copy link
Contributor

Checklist

By completing this PR sufficiently, you help us to review this Pull Request quicker and also help improve the quality of Release Notes

  • Please provide specific title of the PR describing the change
  • If you are adding an new boards, please make sure
    • UF2_BOARD_ID in your board.h follow correct format from uf2 specs

Description of Change

This PR needs #359 as a prerequisite and extends the two existing Seeed XIAO nRF52840 BLE and Sense boards with SoftDevice S340 functionality. The automatic build workflow for these two new boards will fail until #359 has been pulled as the closed source files are not included and S340 builds are then excluded. The build only works locally after following the instructions in the README.md to add the necessary closed source files. It doesn't break anything else.

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you may want to include the ci _s340 filter here as part of the PR as well. Though I am still thinking whether we should include these board with s340 since it is not buildable (therefore not maintainable in the future). Since s340 is only local buildable, and need local changes, maybe it makes sense to let user change the board.mk from s140 --> s340 themself.

@JuergenLeber
Copy link
Contributor Author

You're right @hathach - every board with S340 would just be a copy of a S140 one with some name changes. What do you think about a small script that would do the job locally? (copy board, make changes in naming, etc)

@hathach
Copy link
Member

hathach commented Jul 2, 2025

I think the only changes is needed is SD_NAME and SD_VERSION, we can change = in board.mk/cmake with ?= (ifndef) to allow passing it with make/cmake command line and that should be good enough ?

@JuergenLeber
Copy link
Contributor Author

Sounds good @hathach! So it can be easily built with every board. Do you want to change it or should I change this PR?

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 this pull request may close these issues.

2 participants