You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
496
+
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.
495
497
496
498
3. Change the Partition table. Replace
497
499
@@ -505,15 +507,28 @@ The SparkFun RTK Firmware is compiled using Arduino (currently v1.8.15). To comp
505
507
506
508
B. Set the 'Flash Size' to 16MB (128mbit)
507
509
508
-
5. Obtain all the [required libraries](firmware_update.md#required-libraries).
510
+
5. Obtain all the [required libraries](#required-libraries).
511
+
512
+
6. Patch `Server.h` in the ESP core: copy `Server.h` from the `RTK_Surveyor\Patch` folder and replace:
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.
511
526
512
527
If you are seeing the error:
513
528
514
529
> text section exceeds available space ...
515
530
516
-
You have not replaced the partition file correctly. See the 'Change Partition table' step inside the [Windows instructions](firmware_update.md#windows_1).
531
+
You have not replaced the partition file correctly. See the 'Change Partition table' step inside the [Windows instructions](#compiling-on-windows-deprecated_3).
517
532
518
533
**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).
519
534
@@ -533,38 +548,40 @@ Using the library manager in the Arduino IDE, for each of the libraries below:
533
548
534
549
The RTK firmware requires the following libraries:
0 commit comments