2020-06-16 13:00:35 +10:00
|
|
|
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
|
|
|
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/../tools/uf2/utils/uf2conv.py
|
2020-06-17 01:40:51 +10:00
|
|
|
-c
|
2020-06-16 13:00:35 +10:00
|
|
|
-b 0x26000
|
2020-06-17 01:40:51 +10:00
|
|
|
-f 0xADA52840
|
2020-06-16 13:00:35 +10:00
|
|
|
-o ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.uf2
|
2020-06-17 01:40:51 +10:00
|
|
|
${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.bin
|
2020-06-16 13:00:35 +10:00
|
|
|
)
|