1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

nucleo-wl55jc: Add Kconfig files

This commit is contained in:
Akshai M 2021-03-30 14:14:37 +02:00
parent fd8ddd6161
commit b816c67bdd
4 changed files with 153 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Copyright (c) 2021 Freie Universität Berlin
#
# 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 "nucleo-wl55jc" if BOARD_NUCLEO_WL55JC
config BOARD_NUCLEO_WL55JC
bool
default y
select BOARD_COMMON_NUCLEO64
select CPU_MODEL_STM32WL55JC
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_I2C
select HAS_PERIPH_LPUART
select HAS_PERIPH_RTT
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -0,0 +1,24 @@
# Copyright (c) 2021 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 CPU_FAM_WL
bool
select CPU_STM32
select CPU_CORE_CORTEX_M4
select HAS_CPU_STM32WL
select HAS_PERIPH_FLASHPAGE
select HAS_PERIPH_FLASHPAGE_PAGEWISE
select HAS_PERIPH_WDT
select HAS_BOOTLOADER_STM32
config CPU_FAM
default "wl" if CPU_FAM_WL
config HAS_CPU_STM32WL
bool
help
Indicates that the cpu being used belongs to the 'stm32wl' family.

View File

@ -0,0 +1,27 @@
# Copyright (c) 2021 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.
#
# This file was auto-generated from ST ProductsList.xlsx sheet using the
# script in cpu/stm32/dist/kconfig/gen_kconfig.py
# See cpu/stm32/dist/kconfig/README.md for details
# CPU lines
config CPU_LINE_STM32WL54XX
bool
select CPU_FAM_WL
config CPU_LINE_STM32WL55XX
bool
select CPU_FAM_WL
config CPU_LINE_STM32WLE4XX
bool
select CPU_FAM_WL
config CPU_LINE_STM32WLE5XX
bool
select CPU_FAM_WL

View File

@ -0,0 +1,74 @@
# Copyright (c) 2021 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.
#
# This file was auto-generated from ST ProductsList.xlsx sheet using the
# script in cpu/stm32/dist/kconfig/gen_kconfig.py
# See cpu/stm32/dist/kconfig/README.md for details
# CPU models
config CPU_MODEL_STM32WL54CC
bool
select CPU_LINE_STM32WL54XX
config CPU_MODEL_STM32WL54JC
bool
select CPU_LINE_STM32WL54XX
config CPU_MODEL_STM32WL55CC
bool
select CPU_LINE_STM32WL55XX
config CPU_MODEL_STM32WL55JC
bool
select CPU_LINE_STM32WL55XX
config CPU_MODEL_STM32WLE4CC
bool
select CPU_LINE_STM32WLE4XX
config CPU_MODEL_STM32WLE4JC
bool
select CPU_LINE_STM32WLE4XX
config CPU_MODEL_STM32WLE5C8
bool
select CPU_LINE_STM32WLE5XX
config CPU_MODEL_STM32WLE5CB
bool
select CPU_LINE_STM32WLE5XX
config CPU_MODEL_STM32WLE5CC
bool
select CPU_LINE_STM32WLE5XX
config CPU_MODEL_STM32WLE5J8
bool
select CPU_LINE_STM32WLE5XX
config CPU_MODEL_STM32WLE5JB
bool
select CPU_LINE_STM32WLE5XX
config CPU_MODEL_STM32WLE5JC
bool
select CPU_LINE_STM32WLE5XX
# Configure CPU model
config CPU_MODEL
default "stm32wl54cc" if CPU_MODEL_STM32WL54CC
default "stm32wl54jc" if CPU_MODEL_STM32WL54JC
default "stm32wl55cc" if CPU_MODEL_STM32WL55CC
default "stm32wl55jc" if CPU_MODEL_STM32WL55JC
default "stm32wle4cc" if CPU_MODEL_STM32WLE4CC
default "stm32wle4jc" if CPU_MODEL_STM32WLE4JC
default "stm32wle5c8" if CPU_MODEL_STM32WLE5C8
default "stm32wle5cb" if CPU_MODEL_STM32WLE5CB
default "stm32wle5cc" if CPU_MODEL_STM32WLE5CC
default "stm32wle5j8" if CPU_MODEL_STM32WLE5J8
default "stm32wle5jb" if CPU_MODEL_STM32WLE5JB
default "stm32wle5jc" if CPU_MODEL_STM32WLE5JC