aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/board_feather-stm32f405.go
diff options
context:
space:
mode:
authorsago35 <[email protected]>2021-09-24 10:24:21 +0900
committerRon Evans <[email protected]>2021-09-27 12:37:26 +0200
commit7df8e8db42c30be37c2b763b1ebc63dbfa751119 (patch)
tree04542cb33a61a2938962320e40ac9165a0e95008 /src/machine/board_feather-stm32f405.go
parent25011c50783b55cae85833f0e7c60f2726a25a1a (diff)
downloadtinygo-7df8e8db42c30be37c2b763b1ebc63dbfa751119.tar.gz
tinygo-7df8e8db42c30be37c2b763b1ebc63dbfa751119.zip
feather-stm32f405, feather-rp2040: add I2C pin names
Diffstat (limited to 'src/machine/board_feather-stm32f405.go')
-rw-r--r--src/machine/board_feather-stm32f405.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/machine/board_feather-stm32f405.go b/src/machine/board_feather-stm32f405.go
index ebba9edc8..0fd149567 100644
--- a/src/machine/board_feather-stm32f405.go
+++ b/src/machine/board_feather-stm32f405.go
@@ -231,6 +231,9 @@ const (
I2C_SDA_PIN = I2C0_SDA_PIN // default/primary I2C pins
I2C_SCL_PIN = I2C0_SCL_PIN //
+
+ SDA_PIN = I2C0_SDA_PIN
+ SCL_PIN = I2C0_SCL_PIN
)
var (