Made HOWTO a tiny bit better.

master
Marcel 1 month ago
parent f12c5a04c6
commit 289b015296
  1. 6
      Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md

@ -24,6 +24,8 @@ Add arduino-cli to path by editing ~/.bashrc
Add `export PATH=~/bin:$PATH` to end of file. Exit with `CTRL-x` and type `y` to save the changes.
Now reload the shell so the changes will take effect: `exec $SHELL`. You can also logout and login again.
## Clone git repo
$ git clone https://github.com/liberatedsystems/RNode_Firmware_CE.git
@ -43,6 +45,8 @@ Add rns software to path:
Add `export PATH=~/.local/bin:$PATH` to the end of the file. Exit with `CTRL-x` and type `y` to save the changes.
Now reload the shell so the changes will take effect: `exec $SHELL`. You can also logout and login again.
## Test
To test if you can compile the firmware try it:
@ -125,7 +129,7 @@ If we want to add support for a new board we have to add a new section for this
Let's say we want to add support for the Waveshare ESP32-S3 Pico with an SX1278 LoRa transceiver. First we have to define a BOARD_MODEL. This is a 8 bit value that is used in the source code to select the right code for the hardware. Let's choose 0x61 as the BOARD_MODEL as this number is not used yet.
Now we add the following three entries in the Makefile. The exact place is not critical. But it is good practice to place them
Now we add the following three entries in the Makefile. The exact place is not critical. But it is good practice to put them allongside the already present sections for firmware, upload and release.
```
# Added board from Mees Electronics

Loading…
Cancel
Save