summaryrefslogtreecommitdiff
path: root/.devcontainer/create_build_openocd.sh
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-14 22:53:35 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-08-14 22:53:35 +0300
commitc3d8ee14fe7b0e00627e1f12d4c6654c60fc3b72 (patch)
tree3f87ed874ff358a75b8314d79327e46fb7ced927 /.devcontainer/create_build_openocd.sh
parentd307c6bd9ebd5e0af166ba9b4a491eb284b10b1d (diff)
parentdec4bab33496527e43850742a4b3dafd753eab83 (diff)
Merge branch 'develop' into refresh_rework
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