aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/create_build_openocd.sh
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-17 15:35:29 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-08-17 15:35:29 +0300
commit5b969ccfa975632606aa0b3dc8165460effb9cc3 (patch)
tree38cb0686dd51b5d627ee597a07352e291a004749 /.devcontainer/create_build_openocd.sh
parent7ac6bdfe71f10dd4388da6d3fd29650b072f71f7 (diff)
parentee44b6ff4998d6f4d0672c05c1f65c0a9692dc0d (diff)
Merge branch 'develop' into update_touch_driver
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