2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-10-01 00:24:46 +08:00
|
|
|
# Kernel Options due to Low Memory (8k)
|
|
|
|
CONFIG_MAIN_STACK_SIZE=640
|
|
|
|
CONFIG_IDLE_STACK_SIZE=200
|
|
|
|
CONFIG_ISR_STACK_SIZE=512
|
|
|
|
# Prevent Interrupt Vector Table in RAM
|
2021-04-17 18:04:33 +08:00
|
|
|
CONFIG_SRAM_VECTOR_TABLE=n
|
2017-10-01 00:24:46 +08:00
|
|
|
|
2017-08-09 17:21:34 +08:00
|
|
|
# Serial Drivers
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
2017-12-29 03:20:20 +08:00
|
|
|
# enable console
|
2017-08-09 17:21:34 +08:00
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
|
|
|
# GPIO Controller
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
2021-04-29 20:56:01 +08:00
|
|
|
# Enable Clocks
|
2017-08-09 17:21:34 +08:00
|
|
|
CONFIG_CLOCK_CONTROL=y
|
2021-09-30 21:32:01 +08:00
|
|
|
|
|
|
|
# enable pin controller
|
|
|
|
CONFIG_PINCTRL=y
|