39 lines
672 B
Plaintext
39 lines
672 B
Plaintext
#
|
|
# Copyright (c) 2021 Nuvoton Technology Corporation.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONFIG_SOC_NPCX9M6F=y
|
|
CONFIG_SOC_SERIES_NPCX9=y
|
|
CONFIG_BOARD_NPCX9M6F_EVB=y
|
|
|
|
# Enable NPCX firmware header
|
|
CONFIG_NPCX_HEADER=y
|
|
CONFIG_NPCX_IMAGE_OUTPUT_HEX=y
|
|
CONFIG_NPCX_HEADER_SPI_MAX_CLOCK_50=y
|
|
CONFIG_NPCX_HEADER_SPI_READ_MODE_DUAL=y
|
|
|
|
# Enable MPU
|
|
CONFIG_ARM_MPU=y
|
|
|
|
# Clock configuration
|
|
CONFIG_CLOCK_CONTROL=y
|
|
|
|
# General Kernel Options
|
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=15000000
|
|
|
|
# UART Driver
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
|
|
# GPIO Driver
|
|
CONFIG_GPIO=y
|
|
|
|
# Pin Controller Driver
|
|
CONFIG_PINCTRL=y
|
|
|
|
# Console Driver
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|