In the file Boards.h make an entry for the new board inside the '#if MCU_VARIANT == MCU_ESP32':
The file `Board.h` is the most important file to edit. This is the place where the supported boards are defined. For our new board should, a new section has to be added.
Search for the line `#if MCU_VARIANT == MCU_ESP32`. This is the part where all the ESP32 variant are defined. This section stops at the line `#elif MCU_VARIANT == MCU_NRF52`. From here the definitions for the NRF52 board begin.
Somewhere between these to lines we have to add our board definition. It is good practice to add it at the end, just before the following code:
#else
#error An unsupported ESP32 board was selected. Cannot compile RNode firmware.