2019-11-01 20:45:29 +08:00
|
|
|
# Microchip MEC1501 MCU core series
|
2019-04-02 06:10:44 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
choice
|
2019-11-01 17:24:07 +08:00
|
|
|
prompt "MEC1501 Selection"
|
|
|
|
depends on SOC_SERIES_MEC1501X
|
2019-04-02 06:10:44 +08:00
|
|
|
|
|
|
|
config SOC_MEC1501_HSZ
|
|
|
|
bool "MEC1501_HSZ"
|
|
|
|
select HAS_MEC_HAL
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-07-31 07:22:55 +08:00
|
|
|
config RTOS_TIMER
|
|
|
|
bool "MEC1501 RTOS timer"
|
|
|
|
|
2019-08-31 02:10:02 +08:00
|
|
|
config SOC_POWER_MANAGEMENT
|
|
|
|
bool "MEC1501 Power Management"
|
|
|
|
|
2019-04-02 06:10:44 +08:00
|
|
|
config SOC_MEC1501_PROC_CLK_DIV
|
|
|
|
int "PROC_CLK_DIV"
|
|
|
|
default 1
|
|
|
|
range 1 48
|
|
|
|
help
|
|
|
|
This divisor defines a ratio between processor clock (HCLK)
|
|
|
|
and master clock (MCK):
|
|
|
|
HCLK = MCK / PROC_CLK_DIV
|
|
|
|
Allowed divider values: 1, 3, 4, 16, and 48.
|
|
|
|
|
|
|
|
config SOC_MEC1501_EXT_32K
|
|
|
|
bool "Use external 32KHz clock source"
|
|
|
|
help
|
|
|
|
Use an external 32768 Hz clock source for PLL reference
|
|
|
|
clock.
|
|
|
|
|
|
|
|
Say y if you want to use an external source for the PLL
|
|
|
|
32KHz reference clock.
|
|
|
|
|
|
|
|
Say n to use the +/-2% internal silicon oscillator.
|
|
|
|
|
|
|
|
config SOC_MEC1501_EXT_32K_CRYSTAL
|
|
|
|
bool "External 32KHz is a crystal"
|
|
|
|
depends on SOC_MEC1501_EXT_32K
|
|
|
|
help
|
|
|
|
Choose a crystal as the external 32KHz source.
|
|
|
|
|
|
|
|
Say y if you wish to use a crystal as the external
|
|
|
|
32KHz clock source.
|
|
|
|
|
|
|
|
Saying n will select the 32KHZ_IN pin as the external
|
|
|
|
32KHz clock source.
|
|
|
|
|
|
|
|
config SOC_MEC1501_EXT_32K_PARALLEL_CRYSTAL
|
|
|
|
bool "Use parallel connected 32KHz crystal"
|
|
|
|
depends on SOC_MEC1501_EXT_32K_CRYSTAL
|
|
|
|
help
|
|
|
|
Choose external 32KHz crystal connection.
|
|
|
|
|
|
|
|
Say y if the crystal is connected parallel between
|
|
|
|
the XTAL1 and XTAL pins.
|
|
|
|
|
|
|
|
Say n if the crystal is connected single ended to
|
|
|
|
the XTAL2 pin or a 32KHz square wave is on XTAL2.
|
2019-09-26 02:05:03 +08:00
|
|
|
|
|
|
|
config SOC_MEC1501_VTR3_1_8V
|
|
|
|
bool "VTR3 power rail is tied to 1.8V"
|
|
|
|
help
|
|
|
|
Set this is if VTR3 power sourcejumper in the board is changed.
|
2020-06-03 03:22:27 +08:00
|
|
|
|
|
|
|
config SOC_MEC1501_VCI_PINS_AS_GPIOS
|
|
|
|
bool "Use VCI block pins as GPIOS"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
By default these pins are not GPIOs, but HW controlled.
|
|
|
|
Set this if VCI pin block HW logic is not required in the board
|
|
|
|
design.
|