mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ce0ef8939c
In STM32MP1 family, independant watchdogs (IWDG1 and IWDG2) are dedicated to the MPU (Cortex-A7). Thus simply disable the feature for STM32MP1 family. Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# 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 CPU_STM32
|
|
bool
|
|
select HAS_CPU_STM32
|
|
select HAS_PERIPH_CPUID
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_PERIPH_TIMER_PERIODIC
|
|
select HAS_PERIPH_UART_MODECFG
|
|
select HAS_PERIPH_UART_NONBLOCKING
|
|
|
|
# Common CPU symbol
|
|
config CPU
|
|
default "stm32" if CPU_STM32
|
|
|
|
# Definition of specific features
|
|
config HAS_CPU_STM32
|
|
bool
|
|
help
|
|
Indicates that a 'stm32' cpu is being used.
|
|
|
|
config HAS_BOOTLOADER_STM32
|
|
bool
|
|
help
|
|
Indicates that the stm32 bootloader is being used.
|
|
|
|
config ERROR_MODULES_CONFLICT
|
|
default "On STM32, the RTC and RTT map to the same hardware peripheral." if MODULE_PERIPH_RTC && MODULE_PERIPH_RTT
|
|
depends on CPU_STM32
|
|
|
|
orsource "kconfigs/Kconfig.clk"
|
|
orsource "kconfigs/*/Kconfig"
|
|
orsource "kconfigs/*/Kconfig.lines"
|
|
orsource "kconfigs/*/Kconfig.models"
|
|
|
|
source "$(RIOTCPU)/cortexm_common/Kconfig"
|