mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 08:13:35 +08:00
mRo ctrl zero updates
- add ICM20602 and ICM20648 data ready interrupts - enable Bosch BMI088 IMU - move HRT_TIMER to TIM3 (same timer as PPM channel)
This commit is contained in:
@@ -203,6 +203,9 @@ __EXPORT void board_spi_reset(int ms)
|
||||
stm32_configgpio(_PIN_OFF(GPIO_SPI1_SCK));
|
||||
stm32_configgpio(_PIN_OFF(GPIO_SPI1_MISO));
|
||||
stm32_configgpio(_PIN_OFF(GPIO_SPI1_MOSI));
|
||||
stm32_configgpio(_PIN_OFF(GPIO_SPI1_DRDY1_ICM20602));
|
||||
stm32_configgpio(_PIN_OFF(GPIO_SPI1_DRDY2_ICM20948));
|
||||
|
||||
|
||||
// SPI5
|
||||
for (auto cs : spi5selects_gpio) {
|
||||
@@ -242,6 +245,9 @@ __EXPORT void board_spi_reset(int ms)
|
||||
stm32_configgpio(GPIO_SPI1_SCK);
|
||||
stm32_configgpio(GPIO_SPI1_MISO);
|
||||
stm32_configgpio(GPIO_SPI1_MOSI);
|
||||
stm32_configgpio(GPIO_SPI1_DRDY1_ICM20602);
|
||||
stm32_configgpio(GPIO_SPI1_DRDY2_ICM20948);
|
||||
|
||||
|
||||
// SPI5
|
||||
for (auto cs : spi5selects_gpio) {
|
||||
|
||||
Reference in New Issue
Block a user