diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-11 21:21:28 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-11 21:21:28 +0100 |
commit | 3fffef85de0b780eb26beef5625242355053e872 (patch) | |
tree | 516fb36dbbd5b84475fd5b2c852aef18f16e8214 /src/arch/stm32f446re-nucleo/Kconfig | |
parent | ae68513e744e2a7d99ee085c02de227b135b5a7d (diff) |
stm32f446re: Add I²C driver
Diffstat (limited to 'src/arch/stm32f446re-nucleo/Kconfig')
-rw-r--r-- | src/arch/stm32f446re-nucleo/Kconfig | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/arch/stm32f446re-nucleo/Kconfig b/src/arch/stm32f446re-nucleo/Kconfig index a97d8b2..0fa6b15 100644 --- a/src/arch/stm32f446re-nucleo/Kconfig +++ b/src/arch/stm32f446re-nucleo/Kconfig @@ -1,10 +1,22 @@ -# Copyright 2020 Birte Kristina Friesel +# Copyright 2024 Birte Kristina Friesel # # SPDX-License-Identifier: CC0-1.0 config arch_stm32f446re_nucleo_driver_counter bool "Cycle Counter" select meta_driver_counter +config arch_stm32f446re_nucleo_driver_i2c +bool "I²C on PB[89]" +help + SDA: PB9 (CN5 D14) + SCL: PB8 (CN5 D15) +select meta_driver_hardware_i2c +select meta_driver_i2c + +config arch_stm32f446re_nucleo_driver_i2c_fast_mode +bool "Fast Mode (400 kHz)" +depends on arch_stm32f446re_nucleo_driver_i2c + #config arch_stm32f446re_nucleo_driver_timer #bool "Timer with Interrupts" #select meta_driver_timer |