diff --git a/config/boards/arm/one42/CMakeLists.txt b/config/boards/arm/one42/CMakeLists.txt deleted file mode 100644 index 00952c3..0000000 --- a/config/boards/arm/one42/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -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 -) diff --git a/config/boards/arm/one42/one42_defconfig b/config/boards/arm/one42/one42_defconfig index d0186d9..acb375c 100644 --- a/config/boards/arm/one42/one42_defconfig +++ b/config/boards/arm/one42/one42_defconfig @@ -11,6 +11,7 @@ CONFIG_ARM_MPU=y CONFIG_GPIO=y CONFIG_USE_DT_CODE_PARTITION=y +CONFIG_BUILD_OUTPUT_UF2=y CONFIG_MPU_ALLOW_FLASH_WRITE=y CONFIG_NVS=y