Skip to content

Commit 9cdf01d

Browse files
committed
Update compile workflow so it uses the correct partitions file
1 parent 65b815c commit 9cdf01d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/compile-rtk-firmware.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,13 @@ jobs:
127127
directory: ./Firmware/RTK_Surveyor
128128
branch: ${{ env.BRANCH }}
129129

130+
- name: Copy custom app3M_fat9M_16MB.csv
131+
run:
132+
cp Firmware/app3M_fat9M_16MB.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.2/tools/partitions/app3M_fat9M_16MB.csv
133+
130134
- name: Compile Sketch
131135
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }} ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
132-
--build-property build.partitions=partitions
136+
--build-property build.partitions=app3M_fat9M_16MB
133137
--build-property upload.maximum_size=3145728
134138
--build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_TOKEN=$POINTPERFECT_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
135139
--export-binaries

0 commit comments

Comments
 (0)