1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/stm32*disco: model features in Kconfig

This commit is contained in:
Alexandre Abadie 2020-07-15 16:57:45 +02:00
parent e731533e6a
commit be33f63cae
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
10 changed files with 232 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# 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 "stm32f030f4-demo" if BOARD_STM32F030F4_DEMO
config BOARD_STM32F030F4_DEMO
bool
default y
select CPU_MODEL_STM32F030F4
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_ADC
select HAS_PERIPH_PWM
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_SPI
select HAS_PERIPH_RTC

View File

@ -0,0 +1,21 @@
# 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 "stm32f0discovery" if BOARD_STM32F0DISCOVERY
config BOARD_STM32F0DISCOVERY
bool
default y
select CPU_MODEL_STM32F051R8
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_ADC
select HAS_PERIPH_RTC
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART

View File

@ -0,0 +1,23 @@
# 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 "stm32f3discovery" if BOARD_STM32F3DISCOVERY
config BOARD_STM32F3DISCOVERY
bool
default y
select CPU_MODEL_STM32F303VC
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_DAC
select HAS_PERIPH_I2C
select HAS_PERIPH_PWM
select HAS_PERIPH_RTC
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART

View File

@ -0,0 +1,25 @@
# 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 "stm32f429i-disc1" if BOARD_STM32F429I_DISC1
config BOARD_STM32F429I_DISC1
bool
default y
select CPU_MODEL_STM32F429ZI
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_DMA
select HAS_PERIPH_I2C
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT

View File

@ -0,0 +1,25 @@
# 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 "stm32f429i-disco" if BOARD_STM32F429I_DISCO
config BOARD_STM32F429I_DISCO
bool
default y
select CPU_MODEL_STM32F429ZI
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_DMA
select HAS_PERIPH_I2C
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT

View File

@ -0,0 +1,29 @@
# 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

View File

@ -0,0 +1,23 @@
# 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 "stm32f723e-disco" if BOARD_STM32F723E_DISCO
config BOARD_STM32F723E_DISCO
bool
default y
select CPU_MODEL_STM32F723IE
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_I2C
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV

View File

@ -0,0 +1,21 @@
# 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 "stm32f769i-disco" if BOARD_STM32F769I_DISCO
config BOARD_STM32F769I_DISCO
bool
default y
select CPU_MODEL_STM32F769NI
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV

View File

@ -0,0 +1,20 @@
# 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 "stm32l0538-disco" if BOARD_STM32L0538_DISCO
config BOARD_STM32L0538_DISCO
bool
default y
select CPU_MODEL_STM32L053C8
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_RTC
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART

View File

@ -0,0 +1,23 @@
# 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 "stm32l476g-disco" if BOARD_STM32L476G_DISCO
config BOARD_STM32L476G_DISCO
bool
default y
select CPU_MODEL_STM32L476VG
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT