summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/soft_i2c.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/soft_i2c.cc b/src/driver/soft_i2c.cc
index 76042f2..89f038b 100644
--- a/src/driver/soft_i2c.cc
+++ b/src/driver/soft_i2c.cc
@@ -69,6 +69,9 @@ signed char SoftI2C::setup()
#if MULTIPASS_ARCH_msp430fr5969lp
gpio.output(GPIO::p1_4, 1);
gpio.output(GPIO::p1_5, 1);
+#elif MULTIPASS_ARCH_msp430fr5994lp
+ gpio.output(GPIO::p8_2, 1);
+ gpio.output(GPIO::p8_3, 1);
#else
#error "softi2c_pullup=gpio not supported on this architecture"
#endif /* MULTIPASS_ARCH_* */
@@ -211,6 +214,8 @@ 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
+SoftI2C i2c(GPIO::p5_0, GPIO::p5_1, GPIO::p8_2, GPIO::p8_3);
#else
#error "softi2c_pullup = external not supported on this architecture"
#endif /* MULTIPASS_ARCH_* */
@@ -223,6 +228,8 @@ SoftI2C i2c(GPIO::pc4, GPIO::pc5);
SoftI2C i2c(GPIO::pc4, GPIO::pc5);
#elif MULTIPASS_ARCH_msp430fr5969lp
SoftI2C i2c(GPIO::p1_6, GPIO::p1_7);
+#elif MULTIPASS_ARCH_msp430fr5994lp
+SoftI2C i2c(GPIO::p5_0, GPIO::p5_1);
#elif MULTIPASS_ARCH_posix
SoftI2C i2c(GPIO::px00, GPIO::px01);
#endif /* MULTIPASS_ARCH_* */