|
|
|
@ -1,5 +1,9 @@ |
|
|
|
|
# How to compile the rnode firmware yourself |
|
|
|
|
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
This document |
|
|
|
|
|
|
|
|
|
## Dependencies |
|
|
|
|
|
|
|
|
|
Make sure *git*, *make*, *python* and *pip* are instaled. Most likely these are already availble on your system. Otherwise do: |
|
|
|
@ -13,6 +17,12 @@ Install Reticulum: |
|
|
|
|
|
|
|
|
|
$ pip install rns --break-system-packages |
|
|
|
|
|
|
|
|
|
Add rns software to path: |
|
|
|
|
|
|
|
|
|
$ nano ~/.bashrc |
|
|
|
|
|
|
|
|
|
Add `export PATH=~/.local/bin:$PATH` to the end of the file. Exit with `CTRL-x` and type `y` to save the changes. |
|
|
|
|
|
|
|
|
|
Download arduino-cli: |
|
|
|
|
|
|
|
|
|
$ cd |
|
|
|
@ -24,7 +34,7 @@ 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. |
|
|
|
|
Now reload the shell so the changes to the path will take effect: `exec $SHELL`. You can also logout and login again. |
|
|
|
|
|
|
|
|
|
## Clone git repo |
|
|
|
|
|
|
|
|
@ -37,15 +47,7 @@ Install the required BSP and libraries for the ESP32 system. |
|
|
|
|
$ cd RNode_Firmware_CE/ |
|
|
|
|
$ make prep-esp32 |
|
|
|
|
|
|
|
|
|
This command stalled. I stopped the command by hiting CTRL-C and restarted it. |
|
|
|
|
|
|
|
|
|
Add rns software to path: |
|
|
|
|
|
|
|
|
|
$ nano ~/.bashrc |
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
Sometimes this command stalls. If this happens, stop the command by hiting `CTRL-c` and restarted it. |
|
|
|
|
|
|
|
|
|
## Test |
|
|
|
|
|
|
|
|
|