Hello. I built some faketec devices. I want to add support for the board to RNode_Firmware. It seems like to add support for a new device there are many files to edit, and it's not clear if everything is done until building, and then getting errors.
Has anyone successfully ported RNode to a faketec or other new board? Can you give me pointers on what I'm missing?
Details
I added the board to Boards.h, and added an entry to the Makefile. It builds but I get issues with the defines for PRODUCT, MODEL, and BOARD. It seems these are just tags to tell other parts of the code what to do. But it's not clear where in the code needs to be changed to add support for other boards.
If I try to create my own PRODUCT, MODEL, and BOARD, I get invalid eeprom errors.
The provisioning process is dark magic to me. I cannot find documentation on the inner workings of RNode and don't really know what I need to start doing.
Maybe for something better discussed in a seperate thread: Is there a reason why the details for all the boards are in one header file? Would it be possible to seperate the Boards.h file into a seperate header file for each board, so it's easier to add support for new boards?