2019-11-01 20:45:29 +08:00
|
|
|
# Microchip MEC MCU series configuration options
|
|
|
|
|
2019-04-02 06:10:44 +08:00
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_SERIES_MEC1501X
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default "mec1501"
|
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
# 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*"
|
2019-09-05 23:07:13 +08:00
|
|
|
|
|
|
|
if RTOS_TIMER
|
|
|
|
|
|
|
|
config MCHP_XEC_RTOS_TIMER
|
|
|
|
default y
|
|
|
|
|
|
|
|
config ARCH_HAS_CUSTOM_BUSY_WAIT
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # RTOS_TIMER
|
|
|
|
|
|
|
|
config CORTEX_M_SYSTICK
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on !RTOS_TIMER
|
2019-09-05 23:07:13 +08:00
|
|
|
|
2019-04-02 06:10:44 +08:00
|
|
|
endif # SOC_SERIES_MEC1501X
|