Skip to content

Commit

Permalink
Tried fixing dockerfile with new nodejs version
Browse files Browse the repository at this point in the history
  • Loading branch information
seeul8er committed Jul 14, 2024
1 parent 4086c4b commit def47bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/actions/esp-idf-5_2-with-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM espressif/idf:release-v5.2
RUN apt update
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt -y install --no-install-recommends nodejs npm
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@ For questions or general chatting regarding DroneBridge for ESP32 please visit t
### Compile
You will need the Espressif SDK: esp-idf + toolchain. Check out their website for more info and on how to set it up.
The code is written in pure C using the esp-idf (no Arduino libs).
Compile using esp-idf v5.1.2
Compile using esp-idf v5.1 or esp-idf v5.2
- ESP32 `idf.py set-target esp32 build`
- ESP32S2 `idf.py set-target esp32s2 build`
- ESP32S3 `idf.py set-target esp32s3 build`
- ESP32C3 `idf.py set-target esp32c3 build`

Or compile all at once with release configuration running the release scripts for bash or powershell `create_release_zip.sh` or `create_release_zip.ps1`

**This project supports the v5.1.2 of ESP-IDF**
**This project supports the v5.1.2 & v5.2.2 of ESP-IDF**
Compile and flash by running: `idf.py build`, `idf.py flash`

The web interface is built using the command `idf.py frontend`. This is done automatically when compiling the entire project using `idf.py build`.
Expand Down
2 changes: 1 addition & 1 deletion flashing_instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
2. Flash your esp32 with the command below using esptool.py
ESP32:
-------
esptool.py -p (PORT) -b 115200 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 db_esp32.bin 0x110000 www.bin
esptool --chip esp32 -b 115200 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 db_esp32.bin 0x190000 www.bin


ESP32S2:
Expand Down

0 comments on commit def47bf

Please sign in to comment.