summaryrefslogtreecommitdiff
path: root/.devcontainer/create_build_openocd.sh
diff options
context:
space:
mode:
authorhubmartin <hub.martin@gmail.com>2021-08-11 22:00:55 +0200
committerhubmartin <hub.martin@gmail.com>2021-08-11 22:00:55 +0200
commit0d083a2beac118234f07dacee42f0925420abb42 (patch)
tree14b23e3113b8cf60cf5fa47b4dadebf654181d88 /.devcontainer/create_build_openocd.sh
parentabd8f343e48bdfa1dc4c8604d843a5c2d8071bc0 (diff)
parent643077341b14a52819cbaf02abbd5fb56cdeb802 (diff)
Merge branch 'develop' into pinmap
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