Build UF2 image for nice!nano board as well.
This commit is contained in:
parent
557996bcd0
commit
85e505e06e
3 changed files with 13 additions and 1 deletions
7
app/boards/arm/nice_nano/CMakeLists.txt
Normal file
7
app/boards/arm/nice_nano/CMakeLists.txt
Normal 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}
|
||||||
|
)
|
|
@ -77,7 +77,7 @@
|
||||||
};
|
};
|
||||||
code_partition: partition@26000 {
|
code_partition: partition@26000 {
|
||||||
label = "code_partition";
|
label = "code_partition";
|
||||||
reg = <0x00026000 0x0001e000>;
|
reg = <0x00026000 0x0002e000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -4,6 +4,8 @@ manifest:
|
||||||
url-base: https://github.com/zephyrproject-rtos
|
url-base: https://github.com/zephyrproject-rtos
|
||||||
- name: petejohanson
|
- name: petejohanson
|
||||||
url-base: https://github.com/petejohanson
|
url-base: https://github.com/petejohanson
|
||||||
|
- name: microsoft
|
||||||
|
url-base: https://github.com/microsoft
|
||||||
projects:
|
projects:
|
||||||
- name: zephyr
|
- name: zephyr
|
||||||
remote: petejohanson
|
remote: petejohanson
|
||||||
|
@ -19,5 +21,8 @@ manifest:
|
||||||
- hal_microchip
|
- hal_microchip
|
||||||
- hal_nxp
|
- hal_nxp
|
||||||
- hal_openisa
|
- hal_openisa
|
||||||
|
- name: uf2
|
||||||
|
remote: microsoft
|
||||||
|
path: tools/uf2
|
||||||
self:
|
self:
|
||||||
path: zmk
|
path: zmk
|
||||||
|
|
Loading…
Reference in a new issue