mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Hal_Chibios: fixed F412 SPI config
This commit is contained in:
parent
51512ed7c0
commit
7971f03bde
@ -23,13 +23,11 @@
|
||||
using namespace ChibiOS;
|
||||
|
||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412
|
||||
#define SPI_BUS_SENSORS 1
|
||||
#define SPI_BUS_SENSORS2 0
|
||||
#define SPI_BUS_EXT 2
|
||||
#define SPI_BUS_FLOW 1
|
||||
#define SPI_BUS_RADIO 0
|
||||
|
||||
#define SPIDEV_CS_MPU GPIOB, 12
|
||||
#define SPIDEV_CS_CYRF GPIOA, 4
|
||||
#define SPIDEV_CS_FLOW GPIOA, 15
|
||||
#define SPIDEV_CS_FLOW GPIOB, 12
|
||||
#define SPIDEV_CS_RADIO GPIOA, 4
|
||||
|
||||
#define SPIDEV_RADIO 1
|
||||
#define SPIDEV_FLOW 2
|
||||
|
Loading…
Reference in New Issue
Block a user