From 0e5bb067a217535ec6985b545dc5e8da937481cb Mon Sep 17 00:00:00 2001 From: pennam Date: Fri, 20 Dec 2024 16:29:51 +0100 Subject: [PATCH] README: add commands to build firmware for different boards --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69a80386..23ab8f01 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,11 @@ This firmware uses [Espressif's IDF](https://github.com/espressif/esp-idf) 1. Extract it and add it to your `PATH`: `export PATH=$PATH:/bin` 1. Clone **v3.3.1** of the IDF: `git clone --branch v3.3.1 --recursive https://github.com/espressif/esp-idf.git` 1. Set the `IDF_PATH` environment variable: `export IDF_PATH=` -1. Run `make` to build the firmware (in the directory of this read me) +1. Run `make` to build the firmware (in the directory of this read me). You may want to add different depending on the target board. + 1. `RELEASE=1 make` for MKR WiFi 1010 and Nano 33 IoT + 1. `RELEASE=1 NANO_RP2040_CONNECT=1 make` for Nano RP2040 connect + 1. `RELEASE=1 UNO_WIFI_REV2=1 make` for UNO WiFi Rev2 + 1. Load the `Tools -> SerialNINAPassthrough` example sketch on to the board 1. Use `esptool` to flash the compiled firmware