Skip to content

Commit d05cd0b

Browse files
committed
Update firmware_update.md
1 parent 62dee01 commit d05cd0b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/firmware_update.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,22 +273,26 @@ The SparkFun RTK firmware is compiled using Arduino (currently v1.8.15). To comp
273273

274274
1. Install [Arduino](https://www.arduino.cc/en/software).
275275
2. Install ESP32 for Arduino. [Here](https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide#installing-via-arduino-ide-boards-manager) are some good instructions for installing it via the Arduino Boards Manager. **Note**: Use v2.0.2 of the core. **Note:** We use the 'ESP32 Dev Module' for pin numbering. Select the correct board under Tools->Board->ESP32 Arduino->ESP32 Dev Module.
276-
3. Change the Partition table. Replace 'C:\Users\\[user name]\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\tools\partitions\app3M_fat9M_16MB.csv' with the app3M_fat9M_16MB.csv [file](https://github.com/sparkfun/SparkFun_RTK_Firmware/blob/main/Firmware/app3M_fat9M_16MB.csv?raw=true) found in the [Firmware folder](https://github.com/sparkfun/SparkFun_RTK_Firmware/tree/main/Firmware). This will increase the program partition from a maximum of 1.9MB to 3MB.
276+
3. Change the Partition table. Replace
277+
278+
```C:\Users\\[user name]\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\tools\partitions\app3M_fat9M_16MB.csv```
279+
280+
with the app3M_fat9M_16MB.csv [file](https://github.com/sparkfun/SparkFun_RTK_Firmware/blob/main/Firmware/app3M_fat9M_16MB.csv?raw=true) found in the [Firmware folder](https://github.com/sparkfun/SparkFun_RTK_Firmware/tree/main/Firmware). This will increase the program partition from a maximum of 1.9MB to 3MB.
277281
4. From the Arduino IDE, set the core settings from the **Tools** menu:
278282

279283
A. Set the 'Partition Scheme' to *16M Flash (3MB APP/9MB FATFS)*. This will use the 'app3M_fat9M_16MB.csv' updated partition table.
280284

281285
B. Set the 'Flash Size' to 16MB (128mbit)
282286

283-
5. Obtain all the [required libraries](firmware_update.md#Required-Libraries).
287+
5. Obtain all the [required libraries](firmware_update.md#required-libraries).
284288

285289
Once compiled, firmware can be uploaded directly to a unit when the RTK unit is on and the correct COM port is selected under the Arduino IDE Tools->Port menu.
286290

287291
If you are seeing the error:
288292

289293
> text section exceeds available space ...
290294
291-
You have not replaced the partition file correctly. See the 'Change Partition table' step inside the [Windows instructions](firmware_update.md#windows).
295+
You have not replaced the partition file correctly. See the 'Change Partition table' step inside the [Windows instructions](firmware_update.md#windows-1).
292296

293297
**Note:** There are a variety of compile guards (COMPILE_WIFI, COMPILE_AP, etc) at the top of RTK_Surveyor.ino that can be commented out to remove them from compilation. This will greatly reduce the firmware size and allow for faster development of functions that do not rely on these features (serial menus, system configuration, logging, etc).
294298

0 commit comments

Comments
 (0)