samples/drivers/led_*: Remove usage of CONFIG_I2C_X on stm32 boards
Remove usage of Kconfig symbols I2C_X and rely on overlay to enable i2c instances in samples for stm32 boards Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
67f9b6527b
commit
9985713fd0
3 changed files with 6 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
CONFIG_I2C_3=y
|
6
samples/drivers/led_lp3943/boards/96b_neonkey.overlay
Normal file
6
samples/drivers/led_lp3943/boards/96b_neonkey.overlay
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
};
|
|
@ -1 +0,0 @@
|
|||
CONFIG_I2C_1=y
|
Loading…
Add table
Add a link
Reference in a new issue