34 lines
623 B
Plaintext
34 lines
623 B
Plaintext
|
# Ronoth LoDev board configuration
|
||
|
# Copyright (c) 2021 Dean Weiten <dmw@weiten.com>
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
# Zephyr Kernel Configuration
|
||
|
CONFIG_SOC_SERIES_STM32L0X=y
|
||
|
|
||
|
# Platform Configuration
|
||
|
CONFIG_SOC_STM32L073XX=y
|
||
|
|
||
|
# General Kernel Options
|
||
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=16000000
|
||
|
|
||
|
# Enable MPU
|
||
|
CONFIG_ARM_MPU=y
|
||
|
|
||
|
# 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
|
||
|
|
||
|
# Clock configuration
|
||
|
CONFIG_CLOCK_CONTROL=y
|
||
|
# SYSCLK selection
|
||
|
CONFIG_CLOCK_STM32_SYSCLK_SRC_HSI=y
|