From 7319ad150c6a1f0de6b21ca63872d2a798fe3dd3 Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Mon, 4 Apr 2022 18:07:25 +0200 Subject: [PATCH] Fix toolchain --- scripts/build_infinitime.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_infinitime.sh b/scripts/build_infinitime.sh index 7eea9fa..06c093d 100755 --- a/scripts/build_infinitime.sh +++ b/scripts/build_infinitime.sh @@ -10,11 +10,11 @@ cd build COMMON_OPTIONS="-DCMAKE_BUILD_TYPE=Release -DARM_NONE_EABI_TOOLCHAIN_PATH=/usr -DNRF5_SDK_PATH=/opt/nrf5-sdk -DUSE_JLINK=1 -DNRFJPROG=/usr/bin/nrfjprog -DBUILD_DFU=1" if [ "$TARGET" = "pinetime" ]; then - cmake -DTARGET_DEVICE=PINETIME -DLF_CLK=XTAL -DDRIVER_ACC=BMA421 $COMMON_OPTIONS .. + cmake -DDRIVER_TOUCH=DYNAMIC -DTARGET_DEVICE=PINETIME -DLF_CLK=XTAL -DDRIVER_ACC=BMA421 $COMMON_OPTIONS .. elif [ "$TARGET" = "p8" ] || [ "$TARGET" = "p8b" ]; then - cmake -DTARGET_DEVICE=P8 -DLF_CLK=RC -DDRIVER_ACC=SC7A20 $COMMON_OPTIONS .. + cmake -DDRIVER_TOUCH=REPORT -DTARGET_DEVICE=P8 -DLF_CLK=RC -DDRIVER_ACC=SC7A20 $COMMON_OPTIONS .. elif [ "$TARGET" = "p8a" ]; then - cmake -DTARGET_DEVICE=P8 -DLF_CLK=XTAL -DDRIVER_ACC=BMA421 $COMMON_OPTIONS .. + cmake -DDRIVER_TOUCH=GESTURE -DTARGET_DEVICE=P8 -DLF_CLK=XTAL -DDRIVER_ACC=BMA421 $COMMON_OPTIONS .. fi make -j$(nproc) pinetime-mcuboot-app pinetime-mcuboot-recovery-loader \ No newline at end of file