2020-07-03 17:23:17 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2021-04-29 17:11:39 +08:00
|
|
|
# Enable NPCX firmware header
|
|
|
|
CONFIG_NPCX_HEADER=y
|
2021-05-19 17:03:36 +08:00
|
|
|
CONFIG_NPCX_IMAGE_OUTPUT_HEX=y
|
2021-04-29 17:11:39 +08:00
|
|
|
CONFIG_NPCX_HEADER_SPI_MAX_CLOCK_50=y
|
|
|
|
CONFIG_NPCX_HEADER_SPI_READ_MODE_DUAL=y
|
|
|
|
|
2020-07-03 17:23:17 +08:00
|
|
|
# Enable MPU
|
|
|
|
CONFIG_ARM_MPU=y
|
|
|
|
|
|
|
|
# General Kernel Options
|
|
|
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=15000000
|
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
CONFIG_CLOCK_CONTROL=y
|
|
|
|
|
|
|
|
# UART Driver
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
|
|
|
2020-08-13 18:53:09 +08:00
|
|
|
# GPIO Driver
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
2022-02-21 17:19:31 +08:00
|
|
|
# Pin Controller Driver
|
|
|
|
CONFIG_PINCTRL=y
|
|
|
|
|
2020-07-03 17:23:17 +08:00
|
|
|
# Console Driver
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|