aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/create_build_openocd.sh
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-08-12 21:26:51 +0200
committerKieran Cawthray <kieranc@gmail.com>2021-08-12 21:26:51 +0200
commit52ee25e551f506cdaadfb6a62feda1d2aaa8497b (patch)
tree6c5abc74c56400d222c105b9826fd5e58d3ce522 /.devcontainer/create_build_openocd.sh
parent12aeb4688923a06d574b7aa7262626e7eab5b7f1 (diff)
parent643077341b14a52819cbaf02abbd5fb56cdeb802 (diff)
Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpicker
Diffstat (limited to '.devcontainer/create_build_openocd.sh')
-rw-r--r--.devcontainer/create_build_openocd.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.devcontainer/create_build_openocd.sh b/.devcontainer/create_build_openocd.sh
new file mode 100644
index 00000000..c5bff5c8
--- /dev/null
+++ b/.devcontainer/create_build_openocd.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+rm -rf build/
+cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_OPENOCD=1 -DARM_NONE_EABI_TOOLCHAIN_PATH=/opt/gcc-arm-none-eabi-9-2020-q2-update -DNRF5_SDK_PATH=/opt/nRF5_SDK_15.3.0_59ac345 -S . -Bbuild \ No newline at end of file