mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: enabled df logging on revo and sparky2
This commit is contained in:
parent
1d57385184
commit
7219ec3482
|
@ -134,7 +134,10 @@ define HAL_PROBE_EXTERNAL_I2C_BAROS
|
|||
|
||||
# SPI devices
|
||||
SPIDEV mpu6000 SPI1 DEVID1 MPU_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
|
||||
|
||||
# enable logging to dataflash
|
||||
define HAL_LOGGING_DATAFLASH
|
||||
|
||||
# 8 PWM available by default
|
||||
define BOARD_PWM_COUNT_DEFAULT 8
|
||||
|
|
|
@ -133,7 +133,10 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
|||
|
||||
# SPI devices
|
||||
SPIDEV mpu9250 SPI1 DEVID4 MPU_CS MODE3 1*MHZ 4*MHZ
|
||||
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
|
||||
|
||||
# enable logging to dataflash
|
||||
define HAL_LOGGING_DATAFLASH
|
||||
|
||||
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_SPARKY2
|
||||
|
||||
|
|
Loading…
Reference in New Issue