From 9a69c9bbc51f6f58dcacfc60dd0e174b8ead8f87 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 2 Jan 2019 14:52:38 +0100 Subject: [PATCH] boards/stm32: remove useless empty conf defines --- boards/lobaro-lorabox/include/periph_conf.h | 14 -------------- boards/nucleo-f031k6/include/periph_conf.h | 11 ----------- boards/nucleo-f042k6/include/periph_conf.h | 11 ----------- boards/nucleo-f303k8/include/periph_conf.h | 14 -------------- boards/nucleo-f303ze/include/periph_conf.h | 7 ------- boards/nucleo-f446ze/include/periph_conf.h | 7 ------- boards/nucleo-l432kc/include/periph_conf.h | 14 -------------- boards/nucleo-l496zg/include/periph_conf.h | 7 ------- boards/opencm904/include/periph_conf.h | 7 ------- 9 files changed, 92 deletions(-) diff --git a/boards/lobaro-lorabox/include/periph_conf.h b/boards/lobaro-lorabox/include/periph_conf.h index f1e71fa3bc..2311509d63 100644 --- a/boards/lobaro-lorabox/include/periph_conf.h +++ b/boards/lobaro-lorabox/include/periph_conf.h @@ -210,20 +210,6 @@ static const i2c_conf_t i2c_config[] = { #define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0])) /** @} */ -/** - * @name ADC configuration - * @{ - */ -#define ADC_NUMOF (0U) -/** @} */ - -/** - * @name DAC configuration - * @{ - */ -#define DAC_NUMOF 0 -/** @} */ - #ifdef __cplusplus } #endif diff --git a/boards/nucleo-f031k6/include/periph_conf.h b/boards/nucleo-f031k6/include/periph_conf.h index 435bb8b130..ed5b8df88b 100644 --- a/boards/nucleo-f031k6/include/periph_conf.h +++ b/boards/nucleo-f031k6/include/periph_conf.h @@ -175,17 +175,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name RTC configuration - * @{ - */ -/** - * Nucleo-f031 does not have any LSE, current RTC driver does not support LSI as - * clock source, so disabling RTC. - */ -#define RTC_NUMOF (0U) -/** @} */ - /** * @name ADC configuration * @{ diff --git a/boards/nucleo-f042k6/include/periph_conf.h b/boards/nucleo-f042k6/include/periph_conf.h index 29b0343f06..2477916fa1 100644 --- a/boards/nucleo-f042k6/include/periph_conf.h +++ b/boards/nucleo-f042k6/include/periph_conf.h @@ -186,17 +186,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name RTC configuration - * @{ - */ -/** - * Nucleo-f042 does not have any LSE, current RTC driver does not support LSI as - * clock source, so disabling RTC. - */ -#define RTC_NUMOF (0U) -/** @} */ - /** * @name ADC configuration * @{ diff --git a/boards/nucleo-f303k8/include/periph_conf.h b/boards/nucleo-f303k8/include/periph_conf.h index 983afd85ee..c436fecf1f 100644 --- a/boards/nucleo-f303k8/include/periph_conf.h +++ b/boards/nucleo-f303k8/include/periph_conf.h @@ -178,20 +178,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name RTC configuration - * @{ - */ -#define RTC_NUMOF (0U) -/** @} */ - -/** - * @name ADC configuration - * @{ - */ -#define ADC_NUMOF (0) -/** @} */ - #ifdef __cplusplus } #endif diff --git a/boards/nucleo-f303ze/include/periph_conf.h b/boards/nucleo-f303ze/include/periph_conf.h index 719295d1ac..835026347c 100644 --- a/boards/nucleo-f303ze/include/periph_conf.h +++ b/boards/nucleo-f303ze/include/periph_conf.h @@ -204,13 +204,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name ADC configuration - * @{ - */ -#define ADC_NUMOF (0) -/** @} */ - #ifdef __cplusplus } #endif diff --git a/boards/nucleo-f446ze/include/periph_conf.h b/boards/nucleo-f446ze/include/periph_conf.h index fccd35c128..4f3cd2fac3 100644 --- a/boards/nucleo-f446ze/include/periph_conf.h +++ b/boards/nucleo-f446ze/include/periph_conf.h @@ -158,13 +158,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name ADC configuration - * @{ - */ -#define ADC_NUMOF (0) -/** @} */ - #ifdef __cplusplus } #endif diff --git a/boards/nucleo-l432kc/include/periph_conf.h b/boards/nucleo-l432kc/include/periph_conf.h index b4f07b2673..6ff6edbb66 100644 --- a/boards/nucleo-l432kc/include/periph_conf.h +++ b/boards/nucleo-l432kc/include/periph_conf.h @@ -189,20 +189,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name RTC configuration - * @{ - */ -#define RTC_NUMOF (0U) -/** @} */ - -/** - * @name ADC configuration - * @{ - */ -#define ADC_NUMOF (0U) -/** @} */ - #ifdef __cplusplus } #endif diff --git a/boards/nucleo-l496zg/include/periph_conf.h b/boards/nucleo-l496zg/include/periph_conf.h index b16e308951..50aaf00fed 100644 --- a/boards/nucleo-l496zg/include/periph_conf.h +++ b/boards/nucleo-l496zg/include/periph_conf.h @@ -220,13 +220,6 @@ static const spi_conf_t spi_config[] = { #define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) /** @} */ -/** - * @name ADC configuration - * @{ - */ -#define ADC_NUMOF (0) -/** @} */ - /** * @name RTT configuration * diff --git a/boards/opencm904/include/periph_conf.h b/boards/opencm904/include/periph_conf.h index f9f1d71498..ffc9fe80f4 100644 --- a/boards/opencm904/include/periph_conf.h +++ b/boards/opencm904/include/periph_conf.h @@ -124,13 +124,6 @@ static const uart_conf_t uart_config[] = { #define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0])) /** @} */ -/** - * @name I2C configuration - * @{ - */ -#define I2C_NUMOF (0) -/** @} */ - #ifdef __cplusplus } #endif