Skip to content

Commit

Permalink
Update compile workflow so it uses the correct partitions file
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulZC committed May 29, 2023
1 parent 65b815c commit 9cdf01d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/compile-rtk-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,13 @@ jobs:
directory: ./Firmware/RTK_Surveyor
branch: ${{ env.BRANCH }}

- name: Copy custom app3M_fat9M_16MB.csv
run:
cp Firmware/app3M_fat9M_16MB.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.2/tools/partitions/app3M_fat9M_16MB.csv

- name: Compile Sketch
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }} ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
--build-property build.partitions=partitions
--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=${{ env.ENABLE_DEVELOPER }}\""
--export-binaries
Expand Down

0 comments on commit 9cdf01d

Please sign in to comment.