Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Board Selection for Configurator #70

Open
jbarket opened this issue Apr 20, 2022 · 0 comments
Open

Board Selection for Configurator #70

jbarket opened this issue Apr 20, 2022 · 0 comments

Comments

@jbarket
Copy link
Collaborator

jbarket commented Apr 20, 2022

The web configurator is driven by Boards.json, and the activate board is set in .env. The problem is that there's no simple way to have that board set by changing the board configuration files in the main firmware. We could do something at build time to change the .env values, but that seems unnecessary.

Instead, I think we should set that information in the BoardConfig.h file. In the configurator, we should pull that value and use it to determine which board in Boards.json to use.

Then we can reimplement the pin restrictors for the Pico, add a full RP2040 profile for most custom boards that just use every pin, and allow the creation of custom boards for anything that doesn't fit those two.

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

No branches or pull requests

1 participant