Browse Source

MRO Control Zero F7 OEM Fixes (#16977)

* Update i2c 4 pinmap on F7 OEM

Update i2c 4 pinmap

* Fix i2c Internal to External on F7 OEM

Fix i2c Internal to External on F7 OEM

* Add Can2 Silent Pin

Add Can2 Silent Pin
release/1.12
Ryan Johnston 4 years ago committed by GitHub
parent
commit
daf744c678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      boards/mro/ctrl-zero-f7-oem/nuttx-config/include/board.h
  2. 4
      boards/mro/ctrl-zero-f7-oem/src/board_config.h
  3. 2
      boards/mro/ctrl-zero-f7-oem/src/i2c.cpp

4
boards/mro/ctrl-zero-f7-oem/nuttx-config/include/board.h

@ -296,5 +296,5 @@ @@ -296,5 +296,5 @@
#define GPIO_I2C3_SCL GPIO_I2C3_SCL_2 /* PH7 */
#define GPIO_I2C3_SDA GPIO_I2C3_SDA_2 /* PH8 */
#define GPIO_I2C4_SCL GPIO_I2C4_SCL_2 /* PF14 */
#define GPIO_I2C4_SDA GPIO_I2C4_SDA_2 /* PF15 */
#define GPIO_I2C4_SCL GPIO_I2C4_SCL_4 /* PB6 */
#define GPIO_I2C4_SDA GPIO_I2C4_SDA_5 /* PB7 */

4
boards/mro/ctrl-zero-f7-oem/src/board_config.h

@ -191,9 +191,9 @@ @@ -191,9 +191,9 @@
GPIO_CAN1_TX, \
GPIO_CAN1_RX, \
GPIO_CAN2_TX, \
GPIO_CAN2_RX, \
GPIO_CAN2_RX, \
GPIO_CAN1_SILENT_S0, \
GPIO_CAN2_SILENT_S0, \
GPIO_CAN2_SILENT_S0, \
GPIO_nPOWER_IN_A, \
GPIO_VDD_3V3_SPEKTRUM_POWER_EN, \
GPIO_TONE_ALARM_IDLE, \

2
boards/mro/ctrl-zero-f7-oem/src/i2c.cpp

@ -35,6 +35,6 @@ @@ -35,6 +35,6 @@
constexpr px4_i2c_bus_t px4_i2c_buses[I2C_BUS_MAX_BUS_ITEMS] = {
initI2CBusExternal(1),
initI2CBusInternal(3),
initI2CBusExternal(3),
initI2CBusExternal(4),
};

Loading…
Cancel
Save