13 lines
370 B
CMake
13 lines
370 B
CMake
if(CONFIG_PINMUX_INTEL_S1000)
|
|
zephyr_library()
|
|
zephyr_library_sources(pinmux.c)
|
|
endif()
|
|
|
|
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
|
COMMAND ${PYTHON_EXECUTABLE} ${BOARD_DIR}/support/create_board_img.py
|
|
-i ${PROJECT_BINARY_DIR}/zephyr.bin
|
|
-o ${PROJECT_BINARY_DIR}/zephyr_${BOARD}.bin
|
|
-l $<TARGET_FILE:${ZEPHYR_PREBUILT_EXECUTABLE}>
|
|
-sk
|
|
)
|