mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
d47a880915
The RTT overflow callback is not available on all RTT implementations. This means it is either a no-op or `rtt_set_overflow_cb()` is a no-op or it will overwrite the alarm set with `rtt_set_alarm()`. This adds a feature to indicate that proper overflow reporting is available.
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
#
|
|
# 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_COMMON_EFM32
|
|
bool
|
|
select HAS_ARCH_EFM32
|
|
select HAS_CPU_EFM32
|
|
select HAS_PERIPH_CPUID
|
|
select HAS_PERIPH_FLASHPAGE
|
|
select HAS_PERIPH_FLASHPAGE_PAGEWISE
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_PERIPH_RTT_SET_COUNTER
|
|
select HAS_PERIPH_RTT_OVERFLOW
|
|
select HAS_PERIPH_WDT
|
|
|
|
config CPU_EFM32_SERIES0
|
|
bool
|
|
|
|
config CPU_EFM32_SERIES1
|
|
bool
|
|
select HAS_PERIPH_WDT_CB
|
|
|
|
## Definition of specific features
|
|
config HAS_ARCH_EFM32
|
|
bool
|
|
help
|
|
Indicates that the 'efm32' architecture is being used.
|
|
|
|
config HAS_CPU_EFM32
|
|
bool
|
|
help
|
|
Indicates that the CPU being used is an EFM32.
|
|
|
|
## Definition of EFM32-specific drivers ##
|
|
config HAS_EFM32_CORETEMP
|
|
bool
|
|
help
|
|
Indicates that the EFM32 coretemp driver is being used.
|
|
|
|
## Common CPU symbols
|
|
config CPU
|
|
default "efm32" if CPU_COMMON_EFM32
|
|
|
|
config ERROR_MODULES_CONFLICT
|
|
default "On the EFM32, the RTC and RTT map to the same hardware peripheral." if MODULE_PERIPH_RTC && MODULE_PERIPH_RTT
|
|
depends on CPU_COMMON_EFM32
|
|
|
|
orsource "families/*/Kconfig"
|
|
source "$(RIOTCPU)/cortexm_common/Kconfig"
|