Commit 0248c635 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

external pull-ups are only implemented on MSP430FR at the moment

parent 667887a6
Loading
Loading
Loading
Loading
+2 −0
Changes for src/driver/Kconfig: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -95,11 +95,13 @@ help

config driver_softi2c_pullup_dynamic_external
bool "GPIO Dynamic Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help
    Pull-Up resistors connected to GPIO, disabled when transmitting LOW

config driver_softi2c_pullup_external
bool "GPIO Static Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help
    Pull-Up resistors connected to GPIO, always on

+1 −1
Changes for src/driver/soft_i2c.cc: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ ON_TIMER_INTERRUPT_tail
#if SOFTI2C_PULLUP_EXTERNAL
#ifdef MULTIPASS_ARCH_msp430fr5969lp
SoftI2C i2c(GPIO::p1_6, GPIO::p1_7, GPIO::p1_4, GPIO::p1_5);
#elif MULTIPASS_ARCH_msp430fr5969lp
#elif MULTIPASS_ARCH_msp430fr5994lp
SoftI2C i2c(GPIO::p5_0, GPIO::p5_1, GPIO::p8_2, GPIO::p8_3);
#else
#error "softi2c_pullup = external not supported on this architecture"