From 0ea2cbf1eb99106fee1d05e2a30ce7bd8f22a99f Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 8 Nov 2019 12:22:51 +0100 Subject: [PATCH] boards: remove RTT_NUMOF/RTC_NUMOF Those macros are defined but never used. --- boards/arduino-zero/include/periph_conf.h | 2 -- boards/avsextrem/include/periph_conf.h | 6 ------ boards/chronos/include/periph_conf.h | 6 ------ boards/common/arduino-mkr/include/periph_conf_common.h | 2 -- boards/common/iotlab/include/periph_conf_common.h | 1 - boards/common/nrf51/include/cfg_rtt_default.h | 1 - boards/common/nrf52/include/cfg_rtt_default.h | 1 - boards/common/saml1x/include/periph_conf.h | 2 -- boards/common/slwstk6000b/include/periph_conf.h | 7 ------- boards/common/sodaq/include/cfg_rtc_default.h | 1 - boards/common/sodaq/include/cfg_rtt_default.h | 1 - boards/common/stm32/include/cfg_rtt_default.h | 1 - boards/feather-m0/include/periph_conf.h | 2 -- boards/fox/include/periph_conf.h | 1 - boards/hamilton/include/periph_conf.h | 2 -- boards/hifive1/include/periph_conf.h | 2 -- boards/hifive1b/include/periph_conf.h | 2 -- boards/ikea-tradfri/include/periph_conf.h | 7 ------- boards/msba2/include/periph_conf.h | 6 ------ boards/nucleo-f103rb/include/periph_conf.h | 1 - boards/nucleo-f413zh/include/periph_conf.h | 1 - boards/samd21-xpro/include/periph_conf.h | 2 -- boards/same54-xpro/include/periph_conf.h | 2 -- boards/saml21-xpro/include/periph_conf.h | 2 -- boards/samr21-xpro/include/periph_conf.h | 2 -- boards/samr30-xpro/include/periph_conf.h | 2 -- boards/samr34-xpro/include/periph_conf.h | 2 -- boards/sensebox_samd21/include/periph_conf.h | 1 - boards/slstk3401a/include/periph_conf.h | 7 ------- boards/slstk3402a/include/periph_conf.h | 7 ------- boards/sltb001a/include/periph_conf.h | 7 ------- boards/stk3600/include/periph_conf.h | 7 ------- boards/stk3700/include/periph_conf.h | 7 ------- cpu/kinetis/include/periph_cpu.h | 2 -- cpu/native/include/periph_conf.h | 7 ------- doc/doxygen/riot.doxyfile | 2 -- 36 files changed, 114 deletions(-) diff --git a/boards/arduino-zero/include/periph_conf.h b/boards/arduino-zero/include/periph_conf.h index da138c9d44..6a92217bd5 100644 --- a/boards/arduino-zero/include/periph_conf.h +++ b/boards/arduino-zero/include/periph_conf.h @@ -260,7 +260,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ @@ -268,7 +267,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/avsextrem/include/periph_conf.h b/boards/avsextrem/include/periph_conf.h index 388ff6a3d2..f010903b67 100644 --- a/boards/avsextrem/include/periph_conf.h +++ b/boards/avsextrem/include/periph_conf.h @@ -43,12 +43,6 @@ extern "C" { #define TIMER_NUMOF (1U) /** @} */ -/** - * @name Real Time Clock configuration - */ -#define RTC_NUMOF (1U) -/** @} */ - /** * @name UART configuration * @{ diff --git a/boards/chronos/include/periph_conf.h b/boards/chronos/include/periph_conf.h index 1f777acd8c..9e05516fda 100644 --- a/boards/chronos/include/periph_conf.h +++ b/boards/chronos/include/periph_conf.h @@ -67,12 +67,6 @@ extern "C" { #define UART_TX_ISR (USART1TX_VECTOR) /** @} */ -/** - * @name Real Time Clock configuration - * @{ - */ -#define RTC_NUMOF (1) -/** @} */ #ifdef __cplusplus } diff --git a/boards/common/arduino-mkr/include/periph_conf_common.h b/boards/common/arduino-mkr/include/periph_conf_common.h index 3e8e3c4d64..24c0f36dac 100644 --- a/boards/common/arduino-mkr/include/periph_conf_common.h +++ b/boards/common/arduino-mkr/include/periph_conf_common.h @@ -195,7 +195,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ @@ -203,7 +202,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/common/iotlab/include/periph_conf_common.h b/boards/common/iotlab/include/periph_conf_common.h index 937f6ce917..58baf9010f 100644 --- a/boards/common/iotlab/include/periph_conf_common.h +++ b/boards/common/iotlab/include/periph_conf_common.h @@ -153,7 +153,6 @@ static const uart_conf_t uart_config[] = { * @name Real time counter configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_IRQ_PRIO 1 #define RTT_DEV RTC diff --git a/boards/common/nrf51/include/cfg_rtt_default.h b/boards/common/nrf51/include/cfg_rtt_default.h index a724bda430..45a15b380a 100644 --- a/boards/common/nrf51/include/cfg_rtt_default.h +++ b/boards/common/nrf51/include/cfg_rtt_default.h @@ -29,7 +29,6 @@ extern "C" { * @name Real time counter configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV (1) /* NRF_RTC1 */ #define RTT_MAX_VALUE (0x00ffffff) #define RTT_FREQUENCY (1024) diff --git a/boards/common/nrf52/include/cfg_rtt_default.h b/boards/common/nrf52/include/cfg_rtt_default.h index a2ef264ef8..f65a6d2e04 100644 --- a/boards/common/nrf52/include/cfg_rtt_default.h +++ b/boards/common/nrf52/include/cfg_rtt_default.h @@ -28,7 +28,6 @@ extern "C" { * @name Real time counter configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV (1) /* NRF_RTC1 */ #define RTT_MAX_VALUE (0x00ffffff) #define RTT_FREQUENCY (1024) diff --git a/boards/common/saml1x/include/periph_conf.h b/boards/common/saml1x/include/periph_conf.h index 8624d78ad2..b2014a639a 100644 --- a/boards/common/saml1x/include/periph_conf.h +++ b/boards/common/saml1x/include/periph_conf.h @@ -122,7 +122,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1) #define EXTERNAL_OSC32_SOURCE 1 #define INTERNAL_OSC32_SOURCE 0 #define ULTRA_LOW_POWER_INTERNAL_OSC_SOURCE 0 @@ -134,7 +133,6 @@ static const i2c_conf_t i2c_config[] = { */ #define RTT_FREQUENCY (32768U) #define RTT_MAX_VALUE (0xffffffffU) -#define RTT_NUMOF (1) /** @} */ /** diff --git a/boards/common/slwstk6000b/include/periph_conf.h b/boards/common/slwstk6000b/include/periph_conf.h index 0217045f13..e30471fd76 100644 --- a/boards/common/slwstk6000b/include/periph_conf.h +++ b/boards/common/slwstk6000b/include/periph_conf.h @@ -102,17 +102,10 @@ static const i2c_conf_t i2c_config[] = { #define I2C_0_ISR isr_i2c0 /** @} */ -/** - * @brief RTC configuration - */ -#define RTC_NUMOF (1U) - /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) - #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_FREQUENCY (1U) /** @} */ diff --git a/boards/common/sodaq/include/cfg_rtc_default.h b/boards/common/sodaq/include/cfg_rtc_default.h index 945267e680..0dc2798dc9 100644 --- a/boards/common/sodaq/include/cfg_rtc_default.h +++ b/boards/common/sodaq/include/cfg_rtc_default.h @@ -32,7 +32,6 @@ extern "C" { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ diff --git a/boards/common/sodaq/include/cfg_rtt_default.h b/boards/common/sodaq/include/cfg_rtt_default.h index 4f4df16d1e..a73c1a135c 100644 --- a/boards/common/sodaq/include/cfg_rtt_default.h +++ b/boards/common/sodaq/include/cfg_rtt_default.h @@ -32,7 +32,6 @@ extern "C" { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/common/stm32/include/cfg_rtt_default.h b/boards/common/stm32/include/cfg_rtt_default.h index c77c8e3b3f..d58c61d057 100644 --- a/boards/common/stm32/include/cfg_rtt_default.h +++ b/boards/common/stm32/include/cfg_rtt_default.h @@ -31,7 +31,6 @@ extern "C" { * On the STM32Lx platforms, we always utilize the LPTIM1. * @{ */ -#define RTT_NUMOF (1) #define RTT_FREQUENCY (1024U) /* 32768 / 2^n */ #define RTT_MAX_VALUE (0x0000ffff) /* 16-bit timer */ /** @} */ diff --git a/boards/feather-m0/include/periph_conf.h b/boards/feather-m0/include/periph_conf.h index 1c60719616..7154a1b74b 100644 --- a/boards/feather-m0/include/periph_conf.h +++ b/boards/feather-m0/include/periph_conf.h @@ -243,7 +243,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ @@ -251,7 +250,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/fox/include/periph_conf.h b/boards/fox/include/periph_conf.h index 97e15a8020..2bc4ef51eb 100644 --- a/boards/fox/include/periph_conf.h +++ b/boards/fox/include/periph_conf.h @@ -158,7 +158,6 @@ static const spi_conf_t spi_config[] = { * @name Real time counter configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_IRQ_PRIO 1 #define RTT_DEV RTC diff --git a/boards/hamilton/include/periph_conf.h b/boards/hamilton/include/periph_conf.h index d9f2b11810..7ed9c65830 100644 --- a/boards/hamilton/include/periph_conf.h +++ b/boards/hamilton/include/periph_conf.h @@ -91,7 +91,6 @@ extern "C" { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ @@ -99,7 +98,6 @@ extern "C" { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/hifive1/include/periph_conf.h b/boards/hifive1/include/periph_conf.h index 907cab662a..8bc71e52b8 100644 --- a/boards/hifive1/include/periph_conf.h +++ b/boards/hifive1/include/periph_conf.h @@ -54,12 +54,10 @@ extern "C" { * * @{ */ -#define RTT_NUMOF (1) #define RTT_FREQUENCY (1) /* in Hz */ #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_INTR_PRIORITY (2) -#define RTC_NUMOF (1) /** @} */ /** diff --git a/boards/hifive1b/include/periph_conf.h b/boards/hifive1b/include/periph_conf.h index eaaa37d11a..a38247f808 100644 --- a/boards/hifive1b/include/periph_conf.h +++ b/boards/hifive1b/include/periph_conf.h @@ -54,12 +54,10 @@ extern "C" { * * @{ */ -#define RTT_NUMOF (1) #define RTT_FREQUENCY (1) /* in Hz */ #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_INTR_PRIORITY (2) -#define RTC_NUMOF (1) /** @} */ /** diff --git a/boards/ikea-tradfri/include/periph_conf.h b/boards/ikea-tradfri/include/periph_conf.h index cc4c56f5d2..24bc257f05 100644 --- a/boards/ikea-tradfri/include/periph_conf.h +++ b/boards/ikea-tradfri/include/periph_conf.h @@ -48,18 +48,11 @@ extern "C" { #endif /** @} */ -/** - * @name RTC configuration - * @{ - */ -#define RTC_NUMOF (1U) -/** @} */ /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_FREQUENCY (1U) diff --git a/boards/msba2/include/periph_conf.h b/boards/msba2/include/periph_conf.h index 424c630984..f92c6144d9 100644 --- a/boards/msba2/include/periph_conf.h +++ b/boards/msba2/include/periph_conf.h @@ -68,12 +68,6 @@ extern "C" { #define PWM_FUNC (1) /** @} */ -/** - * @name Real Time Clock configuration - * @{ - */ -#define RTC_NUMOF (1) -/** @} */ /** * @name UART configuration diff --git a/boards/nucleo-f103rb/include/periph_conf.h b/boards/nucleo-f103rb/include/periph_conf.h index c90fa4cef2..3d69cad041 100644 --- a/boards/nucleo-f103rb/include/periph_conf.h +++ b/boards/nucleo-f103rb/include/periph_conf.h @@ -123,7 +123,6 @@ static const uart_conf_t uart_config[] = { * @name Real time counter configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_IRQ_PRIO 1 #define RTT_DEV RTC diff --git a/boards/nucleo-f413zh/include/periph_conf.h b/boards/nucleo-f413zh/include/periph_conf.h index 309b748923..29224547d0 100644 --- a/boards/nucleo-f413zh/include/periph_conf.h +++ b/boards/nucleo-f413zh/include/periph_conf.h @@ -216,7 +216,6 @@ static const spi_conf_t spi_config[] = { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1) #define RTT_FREQUENCY (4096) #define RTT_MAX_VALUE (0xffff) /** @} */ diff --git a/boards/samd21-xpro/include/periph_conf.h b/boards/samd21-xpro/include/periph_conf.h index c7970b1275..459e953e72 100644 --- a/boards/samd21-xpro/include/periph_conf.h +++ b/boards/samd21-xpro/include/periph_conf.h @@ -281,7 +281,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ @@ -289,7 +288,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/same54-xpro/include/periph_conf.h b/boards/same54-xpro/include/periph_conf.h index 35fefeda19..80dffffbd2 100644 --- a/boards/same54-xpro/include/periph_conf.h +++ b/boards/same54-xpro/include/periph_conf.h @@ -138,7 +138,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1) #define EXTERNAL_OSC32_SOURCE 1 #define INTERNAL_OSC32_SOURCE 0 #define ULTRA_LOW_POWER_INTERNAL_OSC_SOURCE 0 @@ -150,7 +149,6 @@ static const i2c_conf_t i2c_config[] = { */ #define RTT_FREQUENCY (32768U) #define RTT_MAX_VALUE (0xffffffffU) -#define RTT_NUMOF (1) /** @} */ /** diff --git a/boards/saml21-xpro/include/periph_conf.h b/boards/saml21-xpro/include/periph_conf.h index b64b0d7e55..3eadf66e5d 100644 --- a/boards/saml21-xpro/include/periph_conf.h +++ b/boards/saml21-xpro/include/periph_conf.h @@ -136,7 +136,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1) #define EXTERNAL_OSC32_SOURCE 1 #define INTERNAL_OSC32_SOURCE 0 #define ULTRA_LOW_POWER_INTERNAL_OSC_SOURCE 0 @@ -148,7 +147,6 @@ static const i2c_conf_t i2c_config[] = { */ #define RTT_FREQUENCY (32768U) #define RTT_MAX_VALUE (0xffffffffU) -#define RTT_NUMOF (1) /** @} */ /** diff --git a/boards/samr21-xpro/include/periph_conf.h b/boards/samr21-xpro/include/periph_conf.h index 2249ac4b2b..20950cc485 100644 --- a/boards/samr21-xpro/include/periph_conf.h +++ b/boards/samr21-xpro/include/periph_conf.h @@ -252,7 +252,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ @@ -260,7 +259,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_DEV RTC->MODE0 #define RTT_IRQ RTC_IRQn #define RTT_IRQ_PRIO 10 diff --git a/boards/samr30-xpro/include/periph_conf.h b/boards/samr30-xpro/include/periph_conf.h index 84184d11d2..9b3ddc7d4a 100644 --- a/boards/samr30-xpro/include/periph_conf.h +++ b/boards/samr30-xpro/include/periph_conf.h @@ -119,7 +119,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1) #define EXTERNAL_OSC32_SOURCE 1 #define INTERNAL_OSC32_SOURCE 0 #define ULTRA_LOW_POWER_INTERNAL_OSC_SOURCE 0 @@ -131,7 +130,6 @@ static const i2c_conf_t i2c_config[] = { */ #define RTT_FREQUENCY (32768U) #define RTT_MAX_VALUE (0xffffffffU) -#define RTT_NUMOF (1) /** @} */ /** diff --git a/boards/samr34-xpro/include/periph_conf.h b/boards/samr34-xpro/include/periph_conf.h index 38caad530b..03afe23408 100644 --- a/boards/samr34-xpro/include/periph_conf.h +++ b/boards/samr34-xpro/include/periph_conf.h @@ -121,7 +121,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1) #define EXTERNAL_OSC32_SOURCE 1 #define INTERNAL_OSC32_SOURCE 0 #define ULTRA_LOW_POWER_INTERNAL_OSC_SOURCE 0 @@ -133,7 +132,6 @@ static const i2c_conf_t i2c_config[] = { */ #define RTT_FREQUENCY (32768U) #define RTT_MAX_VALUE (0xffffffffU) -#define RTT_NUMOF (1) /** @} */ /** diff --git a/boards/sensebox_samd21/include/periph_conf.h b/boards/sensebox_samd21/include/periph_conf.h index e8440c082b..e015c9b82a 100644 --- a/boards/sensebox_samd21/include/periph_conf.h +++ b/boards/sensebox_samd21/include/periph_conf.h @@ -204,7 +204,6 @@ static const i2c_conf_t i2c_config[] = { * @name RTC configuration * @{ */ -#define RTC_NUMOF (1U) #define RTC_DEV RTC->MODE2 /** @} */ diff --git a/boards/slstk3401a/include/periph_conf.h b/boards/slstk3401a/include/periph_conf.h index 595eb1833b..77201b0b7f 100644 --- a/boards/slstk3401a/include/periph_conf.h +++ b/boards/slstk3401a/include/periph_conf.h @@ -109,17 +109,10 @@ static const i2c_conf_t i2c_config[] = { #define I2C_0_ISR isr_i2c0 /** @} */ -/** - * @brief RTC configuration - */ -#define RTC_NUMOF (1U) - /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) - #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_FREQUENCY (1U) /** @} */ diff --git a/boards/slstk3402a/include/periph_conf.h b/boards/slstk3402a/include/periph_conf.h index 10b2c7d945..a93391a9f8 100644 --- a/boards/slstk3402a/include/periph_conf.h +++ b/boards/slstk3402a/include/periph_conf.h @@ -100,17 +100,10 @@ static const i2c_conf_t i2c_config[] = { #define I2C_0_ISR isr_i2c0 /** @} */ -/** - * @brief RTC configuration - */ -#define RTC_NUMOF (1U) - /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) - #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_FREQUENCY (1U) /** @} */ diff --git a/boards/sltb001a/include/periph_conf.h b/boards/sltb001a/include/periph_conf.h index ccc3129926..f43a84b353 100644 --- a/boards/sltb001a/include/periph_conf.h +++ b/boards/sltb001a/include/periph_conf.h @@ -109,17 +109,10 @@ static const i2c_conf_t i2c_config[] = { #define I2C_0_ISR isr_i2c0 /** @} */ -/** - * @brief RTC configuration - */ -#define RTC_NUMOF (1U) - /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) - #define RTT_MAX_VALUE (0xFFFFFFFF) #define RTT_FREQUENCY (1U) /** @} */ diff --git a/boards/stk3600/include/periph_conf.h b/boards/stk3600/include/periph_conf.h index c3002a5e89..9d6e3a4e18 100644 --- a/boards/stk3600/include/periph_conf.h +++ b/boards/stk3600/include/periph_conf.h @@ -155,18 +155,11 @@ static const pwm_conf_t pwm_config[] = { #define PWM_NUMOF ARRAY_SIZE(pwm_channel_config) /** @} */ -/** - * @name RTC configuration - * @{ - */ -#define RTC_NUMOF (1U) -/** @} */ /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_MAX_VALUE (0xFFFFFF) #define RTT_FREQUENCY (1U) diff --git a/boards/stk3700/include/periph_conf.h b/boards/stk3700/include/periph_conf.h index 30c8428d11..ee54dec572 100644 --- a/boards/stk3700/include/periph_conf.h +++ b/boards/stk3700/include/periph_conf.h @@ -155,18 +155,11 @@ static const pwm_conf_t pwm_config[] = { #define PWM_NUMOF ARRAY_SIZE(pwm_channel_config) /** @} */ -/** - * @name RTC configuration - * @{ - */ -#define RTC_NUMOF (1U) -/** @} */ /** * @name RTT configuration * @{ */ -#define RTT_NUMOF (1U) #define RTT_MAX_VALUE (0xFFFFFF) #define RTT_FREQUENCY (1U) diff --git a/cpu/kinetis/include/periph_cpu.h b/cpu/kinetis/include/periph_cpu.h index 6584314bc8..087ee3580e 100644 --- a/cpu/kinetis/include/periph_cpu.h +++ b/cpu/kinetis/include/periph_cpu.h @@ -141,8 +141,6 @@ typedef uint16_t gpio_t; * @name RTT and RTC configuration * @{ */ -#define RTT_NUMOF (1U) -#define RTC_NUMOF (1U) #define RTT_FREQUENCY (1) #define RTT_MAX_VALUE (0xffffffff) /** @} */ diff --git a/cpu/native/include/periph_conf.h b/cpu/native/include/periph_conf.h index 70a0921c43..62be0fb390 100644 --- a/cpu/native/include/periph_conf.h +++ b/cpu/native/include/periph_conf.h @@ -34,13 +34,6 @@ extern "C" { #define RANDOM_NUMOF (1U) /** @} */ -/** - * @name RealTime Clock configuration - * @{ - */ -#define RTC_NUMOF (1) -/** @} */ - /** * @name Timer peripheral configuration * @{ diff --git a/doc/doxygen/riot.doxyfile b/doc/doxygen/riot.doxyfile index acbcecca3d..a0fe1cc19a 100644 --- a/doc/doxygen/riot.doxyfile +++ b/doc/doxygen/riot.doxyfile @@ -2016,8 +2016,6 @@ PREDEFINED = DOXYGEN \ I2C_NUMOF \ PWM_NUMOF \ RANDOM_NUMOF \ - RTC_NUMOF \ - RTT_NUMOF \ GPIO_NUMOF \ SPI_NUMOF \ UART_NUMOF \