31 lines
564 B
Plaintext
31 lines
564 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Zephyr Kernel Configuration
|
|
CONFIG_SOC_SERIES_STM32F0X=y
|
|
|
|
# Platform Configuration
|
|
CONFIG_SOC_STM32F030X4=y
|
|
|
|
# Kernel Options due to Low Memory (4k)
|
|
CONFIG_MAIN_STACK_SIZE=640
|
|
CONFIG_IDLE_STACK_SIZE=200
|
|
CONFIG_ISR_STACK_SIZE=512
|
|
# Prevent Interrupt Vector Table in RAM
|
|
CONFIG_SRAM_VECTOR_TABLE=n
|
|
|
|
# Serial Drivers
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
# enable console
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
# Pinmux Driver
|
|
CONFIG_PINMUX=y
|
|
|
|
# GPIO Controller
|
|
CONFIG_GPIO=y
|
|
|
|
# Enable Clocks
|
|
CONFIG_CLOCK_CONTROL=y
|