How does the GUI detect board type? #22
Replies: 1 comment
-
Hiya! It's a bit of a process, but I'll lay it out to be as straightforward as possible. On the firmware side, boards are defined with precompiler definitions listed at the top of https://github.com/TeamOpenFIRE/OpenFIRE-Firmware/blob/OpenFIRE-dev/libraries/OpenFIREPosition/OpenFIREBoard.h as strings corresponding to the board name - for custom boards, you'll want to add it to the top above the first main board ( On the App side, you'll want to modify these bits:
Then just pull the changes to both repos and it will be reviewed accordingly. I will be the first to admit that this isn't the prettiest way of adding content, as most of this was made when I was the one initially adding embedded programmable multi board support and the App code is, frankly, a bit of a hot mess - if anyone knows of a better way of doing this, contributions are of course accepted. |
Beta Was this translation helpful? Give feedback.
-
Hi there. Im in the process of designing a custom board for a project and I would like to know how the software detects what board is being used? I am planning to clone the original Pico but using a slightly different model for the flash memory and few other minor components. Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions