diff options
author | CrossR <r.cross@lancaster.ac.uk> | 2020-08-21 22:03:52 +0100 |
---|---|---|
committer | CrossR <r.cross@lancaster.ac.uk> | 2020-08-21 22:03:52 +0100 |
commit | 84761fc58931c8caa8cf1bf1b39946a9cb652822 (patch) | |
tree | ab5effc50925021507f742ed8206fbd683f4ee99 /app/boards/arm/nrfmicro/CMakeLists.txt | |
parent | 5c29259fedc4a0265064afc0bc141e6bf33425f2 (diff) | |
parent | c619fb9c58c8f2dbcc19d74e7502459b49633113 (diff) |
Merge branch 'main' into CrossR/Sofle
Diffstat (limited to 'app/boards/arm/nrfmicro/CMakeLists.txt')
-rw-r--r-- | app/boards/arm/nrfmicro/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/boards/arm/nrfmicro/CMakeLists.txt b/app/boards/arm/nrfmicro/CMakeLists.txt new file mode 100644 index 0000000..cd4843a --- /dev/null +++ b/app/boards/arm/nrfmicro/CMakeLists.txt @@ -0,0 +1,14 @@ +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 +) + +if(CONFIG_PINMUX) +zephyr_library() +zephyr_library_sources(pinmux.c) +zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) +endif()
\ No newline at end of file |