Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -95,11 +95,13 @@ help ...@@ -95,11 +95,13 @@ help
config driver_softi2c_pullup_dynamic_external config driver_softi2c_pullup_dynamic_external
bool "GPIO Dynamic Pull-Up" bool "GPIO Dynamic Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help help
Pull-Up resistors connected to GPIO, disabled when transmitting LOW Pull-Up resistors connected to GPIO, disabled when transmitting LOW
config driver_softi2c_pullup_external config driver_softi2c_pullup_external
bool "GPIO Static Pull-Up" bool "GPIO Static Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help help
Pull-Up resistors connected to GPIO, always on Pull-Up resistors connected to GPIO, always on
......
...@@ -227,7 +227,7 @@ ON_TIMER_INTERRUPT_tail ...@@ -227,7 +227,7 @@ ON_TIMER_INTERRUPT_tail
#if SOFTI2C_PULLUP_EXTERNAL #if SOFTI2C_PULLUP_EXTERNAL
#ifdef MULTIPASS_ARCH_msp430fr5969lp #ifdef MULTIPASS_ARCH_msp430fr5969lp
SoftI2C i2c(GPIO::p1_6, GPIO::p1_7, GPIO::p1_4, GPIO::p1_5); 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); SoftI2C i2c(GPIO::p5_0, GPIO::p5_1, GPIO::p8_2, GPIO::p8_3);
#else #else
#error "softi2c_pullup = external not supported on this architecture" #error "softi2c_pullup = external not supported on this architecture"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment