2020-10-08 20:53:56 +02:00
|
|
|
# Copyright (c) 2020 Benjamin Valentin
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
#
|
|
|
|
|
2021-12-14 16:23:59 +01:00
|
|
|
config BOARD_COMMON_WEACT_F4X1CX
|
2020-10-08 20:53:56 +02:00
|
|
|
bool
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
|
|
select HAS_PERIPH_ADC
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_PWM
|
|
|
|
select HAS_PERIPH_RTC
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
|
|
|
select HAS_PERIPH_USBDEV
|
|
|
|
select HAS_HIGHLEVEL_STDIO
|
2020-09-06 21:59:51 +02:00
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
select BOARD_HAS_HSE
|
|
|
|
select BOARD_HAS_LSE
|
|
|
|
|
2021-12-14 16:23:59 +01:00
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
select HAVE_MTD_SPI_NOR
|
2023-06-17 15:13:19 +02:00
|
|
|
select MODULE_BOOTLOADER_STM32 if MODULE_STDIO_CDC_ACM
|
|
|
|
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
2021-12-14 16:23:59 +01:00
|
|
|
|
2022-10-26 11:57:02 +02:00
|
|
|
config CLOCK_HSE
|
|
|
|
default 25000000
|
2022-10-26 11:43:40 +02:00
|
|
|
|
2021-12-14 16:23:59 +01:00
|
|
|
config MODULE_BOARDS_COMMON_WEACT-F4X1CX
|
|
|
|
bool
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
help
|
|
|
|
Common code of weact based boards
|
|
|
|
|
2023-04-06 09:24:07 +02:00
|
|
|
config FORCE_USB_STDIO
|
|
|
|
default y
|
|
|
|
|
2020-09-06 21:59:51 +02:00
|
|
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|