1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/stm32/kconfigs/f1/Kconfig
Leandro Lanzieri e5aca465bd
cpu/stm32/kconfig: fix rtt:rtc error symbol
It only exists conflict between the usage of RTC and RTT on the F1
family, but the error symbol was being set for all of them. This fixes
the issue.
2021-01-23 09:59:03 +01:00

34 lines
841 B
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_FAM_F1
bool
select CPU_STM32
select CPU_CORE_CORTEX_M3
select HAS_CPU_STM32F1
select HAS_PERIPH_FLASHPAGE
select HAS_PERIPH_FLASHPAGE_PAGEWISE
select HAS_PERIPH_FLASHPAGE_RAW
select HAS_PERIPH_WDT
select HAS_BOOTLOADER_STM32
select CLOCK_HAS_NO_MCO_PRE
if CPU_FAM_F1
config CPU_FAM
default "f1"
config ERROR_MODULES_CONFLICT
default "On STM32F1, the RTC and RTT map to the same hardware peripheral." if MODULE_PERIPH_RTC && MODULE_PERIPH_RTT
endif # CPU_FAM_F1
config HAS_CPU_STM32F1
bool
help
Indicates that the cpu being used belongs to the 'stm32f1' family.