Skip to content

Commit d3de7c8

Browse files
authored
Merge pull request #283 from LeeLeahy2/firmware
Update the Linux build instructions
2 parents 0f89d4c + 69f251e commit d3de7c8

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

docs/firmware_update.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ Insert the following text into the file:
341341
# 1: ttyUSBn
342342
# 2: Firmware file
343343
#
344-
sudo python3 ~/.arduino15/packages/esp32/tools/esptool_py/*/esptool.py --chip esp32 --port /dev/$1 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect \
344+
sudo python3 ~/.arduino15/packages/esp32/tools/esptool_py/*/esptool.py --chip esp32 --port /dev/$1 --baud 230400 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect \
345345
0x1000 ~/SparkFun/RTK/Binaries/bin/RTK_Surveyor.ino.bootloader.bin \
346-
0x8000 ~/SparkFun/RTK/Binaries/bin/RTK_Surveyor.ino.partitions.bin \
346+
0x8000 ~/SparkFun/RTK/Binaries/bin/RTK_Surveyor_Partitions_16MB.bin \
347347
0xe000 ~/SparkFun/RTK/Binaries/bin/boot_app0.bin \
348348
0x10000 $2
349349

@@ -366,7 +366,7 @@ Install the Arduino IDE
366366

367367
Add the ESP32 support
368368

369-
24. Arduino
369+
24. arduino
370370
1. Click on File in the menu bar
371371
2. Click on Preferences
372372
3. Go down to the Additional Boards Manager URLs text box
@@ -394,7 +394,7 @@ Connect the Config ESP32 port of the RTK to a USB port on the computer
394394

395395
Enable the libraries in the Arduino IDE
396396

397-
34. Arduino
397+
34. arduino
398398
1. From the menu, click on File
399399
2. Click on Open...
400400
3. Select the ~/SparkFun/RTK/Firmware/RTK_Surveyor/RTK_Surveyor.ino file
@@ -406,12 +406,13 @@ Enable the libraries in the Arduino IDE
406406
6. Click on Board
407407
7. Click on Board Manager…
408408
8. Click on esp32
409-
9. Click on the Install button in the lower right
410-
10. Close the Board Manager...
411-
11. From the menu, click on Tools
412-
12. Click on Board
413-
13. Click on ESP32 Arduino
414-
14. Click on ESP32 Dev Module
409+
9. Select version 2.0.2
410+
10. Click on the Install button in the lower right
411+
11. Close the Board Manager...
412+
12. From the menu, click on Tools
413+
13. Click on Board
414+
14. Click on ESP32 Arduino
415+
15. Click on ESP32 Dev Module
415416

416417
Load the required libraries
417418

@@ -426,6 +427,7 @@ Enable the libraries in the Arduino IDE
426427

427428
* ArduinoJson
428429
* ESP32Time
430+
* ESP32_BleSerial
429431
* JC_Button
430432
* MAX17048 - Used for “Test Sketch/Batt_Monitor”
431433
* PubSubClient
@@ -442,17 +444,19 @@ Enable the libraries in the Arduino IDE
442444
19. From the menu, click on Tools
443445
20. Click on Port, Select the port that was displayed in step 38 above
444446
21. Select /dev/ttyUSB0
447+
22. Click on Upload Speed
448+
23. Select 230400
445449

446450
Setup the partitions for the 16 MB flash
447451

448-
22. From the menu, click on Tools
449-
23. Click on Flash Size
450-
24. Select 16MB
451-
25. From the menu, click on Tools
452-
26. Click on Partition Scheme
453-
27. Click on 16M Flash (3MB APP/9MB FATFS)
454-
28. From the menu click on File
455-
29. Click on Quit
452+
24. From the menu, click on Tools
453+
25. Click on Flash Size
454+
26. Select 16MB
455+
27. From the menu, click on Tools
456+
28. Click on Partition Scheme
457+
29. Click on 16M Flash (3MB APP/9MB FATFS)
458+
30. From the menu click on File
459+
31. Click on Quit
456460

457461
35. cd ~/SparkFun/RTK/
458-
36. cp Firmware/app3M_fat9M_16MB.csv ~/.arduino15/packages/esp32/hardware/esp32/2.0.3/tools/partitions/app3M_fat9M_16MB.csv
462+
36. cp Firmware/app3M_fat9M_16MB.csv ~/.arduino15/packages/esp32/hardware/esp32/2.0.2/tools/partitions/app3M_fat9M_16MB.csv

0 commit comments

Comments
 (0)