qmk-dactyl-manuform-a/keyboards/handwired
Sergey Vlasov 0dee334bce
handwired/onekey/blackpill_f401: Fix I2C pin config mismatch (#10322)
By default the `i2c_master` driver for ChibiOS uses the B6 pin for
`I2C1_SCL` and the B7 pin for `I2C1_SDA`.  However, the ChibiOS board
file used for the F401 Blackpill board (`ST_STM32F401C_DISCOVERY`)
configures B6 as `I2C1_SCL` and B9 as `I2C1_SDA`, and if that
configuration is left unchanged, enabling the `i2c_master` driver
results in having two pins (B7 and B9) configured as `I2C1_SDA` at the
same time, which does not work properly (experimental results show that
the B9 pin still works as `I2C1_SDA` in that case, and the B7 pin does
not work).

Configure the B9 pin as an input with pull-up in `board_init()`, so that
the B7 pin can be configured as `I2C1_SDA` by the I2C driver.
2020-11-12 20:00:35 +11:00
..
2x5keypad
3dp660
6macro
42
108key_trackpoint
412_64
aek64
aplx2
aranck
arrow_pad
atreus50
bdn9_ble
bento
bluepill
boss566y/redragon_vara
brain
cans12er
chiron
ck4x4
cmd60
co60
colorlice
curiosity
d48
dactyl
dactyl_left
dactyl_manuform
dactyl_promicro
daishi
datahand
ddg_56
eagleii
fc200rt_qmk
fivethirteen
floorboard
frenchdev
freoduo
fruity60
gamenum
hacked_motospeed
heisenberg
hexon38
hnah40
hnah40rgb
hnah108
ibm122m
jn68m
jopr
jot50
jotanck
jotpad16
jtallbean
juliet
k8split
k_numpad17
kbod
ks63
leftynumpad
lovelive9
maartenwut
magicforce61
magicforce68
mechboards_micropad
minorca
ms_sculpt_mobile
myskeeb
nicekey
not_so_minidox
novem
numpad20
obuwunkunubi/spaget
onekey handwired/onekey/blackpill_f401: Fix I2C pin config mismatch (#10322) 2020-11-12 20:00:35 +11:00
ortho5x13
owlet60
p65rgb
p1800fl
pilcrow
postageboard
prime_exl
prime_exl_plus
prkl30
promethium
pterodactyl
pteron
pteron38
pteron44
qc60
reddot
retro_refit
riblee_f401
riblee_f411
rs60
selene
sick68
sick_pad
slash
space_oddity
splittest
steamvan
sticc14
stream_cheap
swiftrax
symmetry60
t111
tennie
terminus_mini
trackpoint
traveller
tritium_numpad
twadlee/tp69
unk
videowriter
wabi
woodpad
wulkan
xealous
xealousbrown
z150
zergo