Build UF2 image for nice!nano board as well.

This commit is contained in:
Pete Johanson
2020-06-15 23:00:35 -04:00
parent 557996bcd0
commit 85e505e06e
3 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/../tools/uf2/utils/uf2conv.py
-b 0x26000
-f NRF52
-o ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.uf2
${PROJECT_BINARY_DIR}/${KERNEL_BIN_NAME}
)