# Copyright (c) 2020 Inria # # 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. # config BOARD default "stm32f4discovery" if BOARD_STM32F4DISCOVERY config BOARD_STM32F4DISCOVERY bool default y select CPU_MODEL_STM32F407VG # Put defined MCU peripherals here (in alphabetical order) select HAS_PERIPH_ADC select HAS_PERIPH_DAC select HAS_PERIPH_DMA 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 # Various other features (if any) select HAS_ARDUINO # Clock configuration select BOARD_HAS_HSE select HAVE_SAUL_GPIO source "$(RIOTBOARD)/common/stm32/Kconfig" config ERROR_MODULES_CONFLICT default "On stm32f4discovery boards there are the same pins for the DAC and/or SPI_0." if MODULE_PERIPH_SPI && MODULE_PERIPH_DAC depends on BOARD_STM32F4DISCOVERY