HAL_ChibiOS: removed SPI devices on f103-periph

these are unused and saves us a couple of k of flash
This commit is contained in:
Andrew Tridgell 2020-12-03 14:47:07 +11:00 committed by Peter Barker
parent cd6ddf7d4f
commit b289701d20
2 changed files with 0 additions and 9 deletions

View File

@ -5,10 +5,6 @@ define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_gps"
# added rm3100 mag on SPI
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
COMPASS RM3100 SPI:rm3100 false ROTATION_NONE
# and support all external compass types
define HAL_PROBE_EXTERNAL_I2C_COMPASSES

View File

@ -50,11 +50,6 @@ PB7 I2C1_SDA I2C1
PB0 MAG_CS CS
# spi bus for compass
PA5 SPI1_SCK SPI1
PA6 SPI1_MISO SPI1
PA7 SPI1_MOSI SPI1
# analog input
# PA5 VIN5 ADC1
define HAL_USE_ADC TRUE