Skip to content

Commit 02755f7

Browse files
committed
Update Dockerfile
1 parent 254d50b commit 02755f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Firmware/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@ RUN cd ./Extras \
8383
&& cp SPI.cpp /root/.arduino15/packages/SparkFun/hardware/apollo3/2.2.1/libraries/SPI/src/SPI.cpp
8484

8585
# Enable DMP on ICM 20948
86-
RUN sed -i 's|//#define ICM|#define ICM|g' /root/Arduino/libraries/SparkFun_9DoF_IMU_Breakout_-_ICM_20948_-_Arduino_Library/src/util/ICM_20948_C.h
86+
RUN sed -i 's|//#define ICM_20948_USE_DMP|#define ICM_20948_USE_DMP|g' /root/Arduino/libraries/SparkFun_9DoF_IMU_Breakout_-_ICM_20948_-_Arduino_Library/src/util/ICM_20948_C.h
8787

8888
# Enable debug symbols
8989
# echo "compiler.c.extra_flags=-MMD -g3" >> /root/.arduino15/packages/SparkFun/hardware/apollo3/2.2.1/platform.local.txt
9090
# echo "compiler.cxx.extra_flags=-MMD -g3" >> /root/.arduino15/packages/SparkFun/hardware/apollo3/2.2.1/platform.local.txt
9191

9292
# Disable Power Loss Protection
93-
# Uncomment to disable power loss protection
93+
# Uncomment the next two lines to disable power loss protection
9494
#RUN cd ./OpenLog_Artemis \
95-
# && sed -i 's|#define noPowerLossProtection|//#define noPowerLossProtection|g' OpenLog_Artemis.ino
95+
# && sed -i 's|//#define noPowerLossProtection|#define noPowerLossProtection|g' OpenLog_Artemis.ino
9696

9797
# X04 Hardware
98-
# Uncomment to compile for the original X04 SparkX OLA
98+
# Uncomment the next three lines to compile for the original X04 SparkX OLA
9999
#RUN cd ./OpenLog_Artemis \
100100
# && sed -i 's|#define HARDWARE_VERSION_MAJOR 1|#define HARDWARE_VERSION_MAJOR 0|g' OpenLog_Artemis.ino \
101101
# && sed -i 's|#define HARDWARE_VERSION_MINOR 0|#define HARDWARE_VERSION_MINOR 4|g' OpenLog_Artemis.ino

0 commit comments

Comments
 (0)