File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 4
4
# Builds the RTK support programs
5
5
# #####################################################################
6
6
7
+ .ONESHELL :
8
+ SHELL =/bin/bash
9
+
7
10
# #########
8
11
# Source files
9
12
# #########
@@ -196,6 +199,14 @@ libraries:
196
199
echo ----------------------------------
197
200
~/Arduino/arduino-cli lib list
198
201
202
+ partition : ../app3M_fat9M_16MB.csv
203
+ ESP_PATH=/home/$$ USER/.arduino15/packages/esp32/hardware/esp32/*
204
+ for file in $$ ESP_PATH; do \
205
+ ESP_VERSION_PATH=$$ {file}; \
206
+ done
207
+ ESP_VERSION=$$(basename $$ESP_VERSION_PATH)
208
+ cp --verbose $< ~ /.arduino15/packages/esp32/hardware/esp32/$$ ESP_VERSION/tools/partitions/app3M_fat9M_16MB.csv
209
+
199
210
RTK : ../RTK_Surveyor/RTK_Surveyor.ino ../RTK_Surveyor/* .h
200
211
~ /Arduino/arduino-cli compile --fqbn " esp32:esp32:esp32" :DebugLevel=$(DEBUG_LEVEL ) ../RTK_Surveyor/RTK_Surveyor.ino --build-property build.partitions=app3M_fat9M_16MB --build-property upload.maximum_size=3145728 --build-property " compiler.cpp.extra_flags=\" -DPOINTPERFECT_TOKEN=$( POINTPERFECT_TOKEN) \" \" -DFIRMWARE_VERSION_MAJOR=$( FIRMWARE_VERSION_MAJOR) \" \" -DFIRMWARE_VERSION_MINOR=$( FIRMWARE_VERSION_MINOR) \" \" -DENABLE_DEVELOPER=$( ENABLE_DEVELOPER) \" " --export-binaries
201
212
You can’t perform that action at this time.
0 commit comments