HAL_ChibiOS: enabled df logging on revo and sparky2

This commit is contained in:
Andrew Tridgell 2019-01-21 09:53:49 +11:00
parent 1d57385184
commit 7219ec3482
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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