HAL_ChibiOS: enable i2c for FMUv5

This commit is contained in:
Andrew Tridgell 2018-05-30 08:30:46 +10:00
parent 99540a184c
commit db9bf19e46
1 changed files with 18 additions and 0 deletions

View File

@ -74,6 +74,24 @@ PF4 BMI055_G_CS CS
PG10 BMI055_A_CS CS
PF5 FRAM_CS CS SPEED_VERYLOW
# I2C buses
PB8 I2C1_SCL I2C1
PB9 I2C1_SDA I2C1
PF1 I2C2_SCL I2C2
PF0 I2C2_SDA I2C2
PH7 I2C3_SCL I2C3
PH8 I2C3_SDA I2C3
#PF14 I2C4_SCK I2C4
#PF15 I2C4_SDA I2C4
# order of I2C buses
I2C_ORDER I2C2 I2C1 I2C3
# enable pins
PE3 VDD_3V3_SENSORS_EN OUTPUT HIGH
PF12 nVDD_5V_HIPOWER_EN OUTPUT LOW