Skip to content

Commit 5d6807a

Browse files
committed
Update Dockerfile
1 parent ed9e273 commit 5d6807a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Firmware/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ ARG DEBUG_LEVEL=error
1717
# Set to false for releases
1818
ARG ENABLE_DEVELOPER=true
1919

20+
# arduino-cli warnings: none default more all
21+
ARG WARNINGS=default
22+
2023
# If you have your own u-blox PointPerfect token(s), define them here
2124
# or pass in as args when building the Dockerfile
2225
# POINTPERFECT_LBAND_TOKEN is the token for the deprecated u-blox L-band SPARTN service
@@ -116,6 +119,7 @@ RUN cp RTKEverywhere.csv "/root/.arduino15/packages/esp32/hardware/esp32/${CORE_
116119
# Compile Sketch
117120
RUN cd ./RTK_Everywhere \
118121
&& arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${DEBUG_LEVEL},PSRAM=enabled \
122+
--warnings ${WARNINGS} \
119123
./RTK_Everywhere.ino \
120124
--build-property build.partitions=RTKEverywhere \
121125
--build-property upload.maximum_size=4055040 \

0 commit comments

Comments
 (0)