1# Copyright 2024 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4config SOC_SERIES_MCXC 5 select ARM 6 select CPU_CORTEX_M0PLUS 7 select CPU_CORTEX_M_HAS_SYSTICK 8 select CPU_CORTEX_M_HAS_VTOR 9 select CLOCK_CONTROL 10 select SOC_RESET_HOOK 11 select HAS_MCUX 12 select HAS_MCUX_ADC16 13 select HAS_MCUX_SIM 14 select HAS_MCUX_RCM 15 select HAS_MCUX_FTFX 16 select HAS_MCUX_LPUART 17 select HAS_MCUX_LPI2C 18 select HAS_MCUX_TPM 19 select SOC_EARLY_INIT_HOOK 20 select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE 21 22if SOC_SERIES_MCXC 23 24config MCXC_FLASH_CONFIG 25 bool "MCXC flash configuration field" 26 default y if XIP && !BOOTLOADER_MCUBOOT 27 help 28 Include the 16-byte flash configuration field that stores default 29 protection settings (loaded on reset) and security information that 30 allows the MCU to restrict access to the FTFx module. 31 32if MCXC_FLASH_CONFIG 33 34config MCXC_FLASH_CONFIG_OFFSET 35 hex 36 default $(dt_node_int_prop_hex,/soc/flash-controller@40020000,config-field-offset) 37 38endif # MCXC_FLASH_CONFIG 39 40config WDOG_ENABLE_AT_BOOT 41 bool "Keep watchdog timer enabled at boot" 42 help 43 Leave SOC watchdog timer enabled at boot. The specific timeout 44 and clock configuration of the watchdog at boot is SOC dependent. 45 Note: if the watchdog timer is enabled at boot, the user will 46 need to configure the watchdog using z_arm_watchdog_init, as 47 the SOC requires watchdog configuration before initial expiration 48 49# Enable watchdog configuration function if watchdog is left enabled at boot 50config WDOG_INIT 51 bool 52 default WDOG_ENABLE_AT_BOOT 53 54endif # SOC_FAMILY_MCXC 55