2022-04-12 22:54:22 -03:00
|
|
|
# Revo-mini target with I2C and SD card support
|
2022-02-22 10:23:50 -04:00
|
|
|
|
2024-03-31 09:21:42 -03:00
|
|
|
|
2022-02-22 10:23:50 -04:00
|
|
|
|
|
|
|
include ../revo-mini-i2c/hwdef.dat
|
|
|
|
|
|
|
|
PA0 UART4_TX UART4 ALT(6)
|
|
|
|
PA1 UART4_RX UART4 ALT(6)
|
|
|
|
|
|
|
|
PA15 SDCARD_CS CS
|
|
|
|
|
|
|
|
SPIDEV sdcard SPI3 DEVID2 SDCARD_CS MODE0 400*KHZ 25*MHZ
|
|
|
|
|
|
|
|
# disable logging to dataflash
|
|
|
|
undef HAL_LOGGING_DATAFLASH_ENABLED
|
|
|
|
|
|
|
|
# filesystem setup on sdcard
|
|
|
|
define HAL_OS_FATFS_IO 1
|
|
|
|
|
|
|
|
# disable parachute and sprayer to save flash
|
|
|
|
define HAL_PARACHUTE_ENABLED 0
|