2021-09-13 19:18:58 -07:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
CONFIG_BOARD_FERRIS=y
|
|
|
|
CONFIG_SOC_SERIES_STM32F0X=y
|
|
|
|
CONFIG_SOC_STM32F072XB=y
|
|
|
|
# 48MHz system clock
|
|
|
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=48000000
|
|
|
|
|
2023-11-14 20:22:09 -08:00
|
|
|
# enable PINCTRL
|
2022-02-21 20:26:34 -08:00
|
|
|
CONFIG_PINCTRL=y
|
2021-09-13 19:18:58 -07:00
|
|
|
|
|
|
|
# enable GPIO
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
|
|
|
# Enable i2c
|
|
|
|
CONFIG_I2C=y
|
|
|
|
|
|
|
|
# ZMK Settings
|
|
|
|
CONFIG_ZMK_USB=y
|
|
|
|
CONFIG_ZMK_KSCAN_MATRIX_POLLING=y
|
|
|
|
CONFIG_USB_SELF_POWERED=n
|
|
|
|
|
|
|
|
# Needed to reduce this to size that will fit on F072
|
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=1024
|
|
|
|
|
|
|
|
# clock configuration
|
|
|
|
CONFIG_CLOCK_CONTROL=y
|
|
|
|
|