Skip to content

Allow custom board variants based on this core#12

Merged
StarSphere-1024 merged 1 commit intoSeeed-Studio:masterfrom
SoporTechnologies:feature/enable_board_variants
Feb 26, 2026
Merged

Allow custom board variants based on this core#12
StarSphere-1024 merged 1 commit intoSeeed-Studio:masterfrom
SoporTechnologies:feature/enable_board_variants

Conversation

@jgartrel
Copy link
Copy Markdown

@jgartrel jgartrel commented Feb 14, 2026

Adding new boards should be possible without changing the core itself. The Arduino Platform Specification documents the ability to create custom board variants that reference this core and it would be great if we could do that with the Seeeduino core. Line 84 of main.cpp, unfortunately, makes this impossible.

https://github.com/Seeed-Studio/Adafruit_nRF52_Arduino/blob/master/cores/nRF5/main.cpp#L84:

#error "Unsupported board"

The suggested change is to restore the default parameters, yet still allow the exceptions (board variants such as the ARDUINO_WIO_TRACKER_1110 that do need to modify the core directly). There may be better ways to accomplish that exceptional change, but that is not the scope of this pull request

The limited code and changes provided in this pull request are provided freely and completely to the Seeed-Studio project to be used as its maintainers see fit and under any copyright they deem appropriate.

@MatthewJeffson MatthewJeffson added Adafruit_nRF52_Arduino Label for Adafruit_nRF52_Arduino Pull request Label for pull requests UAY Unassigned yet labels Feb 15, 2026
@StarSphere-1024 StarSphere-1024 merged commit 2892f17 into Seeed-Studio:master Feb 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Adafruit_nRF52_Arduino Label for Adafruit_nRF52_Arduino Pull request Label for pull requests UAY Unassigned yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants