boards: stm32: Remove Kconfig I2C symbols
Following conversion of stm32 i2c driver to use of DT_NODELABEL macros, configuration of i2c instance in stm32 boards should no more be done thanks to Kconfig symbols, but is done thanks to device tree file. Clean boards files from these symbols. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
c01c74c020
commit
67f9b6527b
96 changed files with 149 additions and 420 deletions
|
@ -18,10 +18,10 @@ static const struct pin_config pinconf[] = {
|
|||
{STM32_PIN_PB10, STM32F4_PINMUX_FUNC_PB10_USART3_TX},
|
||||
{STM32_PIN_PB11, STM32F4_PINMUX_FUNC_PB11_USART3_RX},
|
||||
#endif /* CONFIG_UART_3 */
|
||||
#ifdef CONFIG_I2C_1
|
||||
#if DT_HAS_NODE(DT_NODELABEL(i2c1))
|
||||
{STM32_PIN_PB6, STM32F4_PINMUX_FUNC_PB6_I2C1_SCL},
|
||||
{STM32_PIN_PB7, STM32F4_PINMUX_FUNC_PB7_I2C1_SDA},
|
||||
#endif /* CONFIG_I2C_1 */
|
||||
#endif
|
||||
#ifdef CONFIG_SPI_1
|
||||
#ifdef CONFIG_SPI_STM32_USE_HW_SS
|
||||
{STM32_PIN_PA15, STM32F4_PINMUX_FUNC_PA15_SPI1_NSS |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue