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:
parent
e731533e6a
commit
be33f63cae
22
boards/stm32f030f4-demo/Kconfig
Normal file
22
boards/stm32f030f4-demo/Kconfig
Normal 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
|
21
boards/stm32f0discovery/Kconfig
Normal file
21
boards/stm32f0discovery/Kconfig
Normal 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
|
23
boards/stm32f3discovery/Kconfig
Normal file
23
boards/stm32f3discovery/Kconfig
Normal 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
|
25
boards/stm32f429i-disc1/Kconfig
Normal file
25
boards/stm32f429i-disc1/Kconfig
Normal 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
|
25
boards/stm32f429i-disco/Kconfig
Normal file
25
boards/stm32f429i-disco/Kconfig
Normal 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
|
29
boards/stm32f4discovery/Kconfig
Normal file
29
boards/stm32f4discovery/Kconfig
Normal 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
|
23
boards/stm32f723e-disco/Kconfig
Normal file
23
boards/stm32f723e-disco/Kconfig
Normal 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
|
21
boards/stm32f769i-disco/Kconfig
Normal file
21
boards/stm32f769i-disco/Kconfig
Normal 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
|
20
boards/stm32l0538-disco/Kconfig
Normal file
20
boards/stm32l0538-disco/Kconfig
Normal 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
|
23
boards/stm32l476g-disco/Kconfig
Normal file
23
boards/stm32l476g-disco/Kconfig
Normal 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
|
Loading…
Reference in New Issue
Block a user