diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-10-05 09:29:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 09:29:30 -0400 |
commit | febf2f485df883ef0a025f674f4489042775dcba (patch) | |
tree | 48a45cbf9929a86d88c4b5bc0c4ffa9aaa9e9327 /app/boards/arm/nrf52840_m2/CMakeLists.txt | |
parent | 7d222e15530f2aa634e9cc11e7af3875dd042e97 (diff) | |
parent | b8cb5f939a3c018af13de7727c15d7765ea1f1c1 (diff) |
Merge pull request #233 from megamind4089/m60
Shield and board definitions for M60
Diffstat (limited to 'app/boards/arm/nrf52840_m2/CMakeLists.txt')
-rw-r--r-- | app/boards/arm/nrf52840_m2/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/boards/arm/nrf52840_m2/CMakeLists.txt b/app/boards/arm/nrf52840_m2/CMakeLists.txt new file mode 100644 index 0000000..84b2ab9 --- /dev/null +++ b/app/boards/arm/nrf52840_m2/CMakeLists.txt @@ -0,0 +1,13 @@ +# +# Copyright (c) 2020 The ZMK Contributors +# SPDX-License-Identifier: MIT +# + +set_property(GLOBAL APPEND PROPERTY extra_post_build_commands + COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/../tools/uf2/utils/uf2conv.py + -c + -b 0x26000 + -f 0xADA52840 + -o ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.uf2 + ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.bin +) |