boards/stm32: remove useless empty conf defines
This commit is contained in:
parent
02ec3845de
commit
9a69c9bbc5
@ -210,20 +210,6 @@ static const i2c_conf_t i2c_config[] = {
|
|||||||
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -175,17 +175,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#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
|
* @name ADC configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -186,17 +186,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#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
|
* @name ADC configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -178,20 +178,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -204,13 +204,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name ADC configuration
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define ADC_NUMOF (0)
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -158,13 +158,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name ADC configuration
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define ADC_NUMOF (0)
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -189,20 +189,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -220,13 +220,6 @@ static const spi_conf_t spi_config[] = {
|
|||||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name ADC configuration
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define ADC_NUMOF (0)
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name RTT configuration
|
* @name RTT configuration
|
||||||
*
|
*
|
||||||
|
|||||||
@ -124,13 +124,6 @@ static const uart_conf_t uart_config[] = {
|
|||||||
#define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0]))
|
#define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0]))
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name I2C configuration
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define I2C_NUMOF (0)
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user