zephyr/soc/arm/microchip_mec/mec1501/Kconfig.defconfig.series
Scott Worley 6be78f36df soc : arm : microchip_mec Move custom busy wait config to MEC1501 SoC
Configuration item custom busy wait is required for all MEC1501
series if its RTOS timer driver is enabled. We moved the selection
of the timer from board level to MEC1501 SoC level.
Frequency selection remains at the board level.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2019-09-13 09:55:59 +02:00

41 lines
651 B
Text

# Kconfig - Microchip MEC MCU series configuration options
#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_MEC1501X
config SOC_SERIES
string
default "mec1501"
config NUM_IRQS
int
# must be >= the highest interrupt number used
# - include the UART interrupts
# All NVIC external sources.
default 174
source "soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501*"
if RTOS_TIMER
config MCHP_XEC_RTOS_TIMER
bool
default y
config ARCH_HAS_CUSTOM_BUSY_WAIT
default y
endif # RTOS_TIMER
if !RTOS_TIMER
config CORTEX_M_SYSTICK
default y
endif # RTOS_TIMER
endif # SOC_SERIES_MEC1501X