From 289b015296777d6ec1bcf953c6f2a697dd48dd68 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 4 Mar 2025 15:31:29 +0100 Subject: [PATCH] Made HOWTO a tiny bit better. --- .../HOWTO-change-firmware-and-compile-it_MeesElectronics.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md b/Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md index 3881849..4f8fd59 100644 --- a/Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md +++ b/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