1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_sources_ifdef(CONFIG_KINETIS_FLASH_CONFIG	flash_configuration.c)
4
5add_subdirectory(${SOC_SERIES})
6
7# This is for access to pinctrl macros
8zephyr_include_directories(common)
9
10zephyr_linker_sources_ifdef(CONFIG_KINETIS_FLASH_CONFIG
11  ROM_START
12  SORT_KEY ${CONFIG_KINETIS_FLASH_CONFIG_OFFSET}
13  flash_config.ld
14  )
15
16# CMSIS SystemInit will disable watchdog unless instructed not to.
17# Add a compiler definition here to leave watchdog untouched
18# if this Kconfig is set
19zephyr_compile_definitions_ifdef(CONFIG_WDOG_ENABLE_AT_BOOT DISABLE_WDOG=0)
20