From ce0ae51bbfb2ed67aa3ebdc0dc65acccd24fdcc9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 8 Jun 2025 15:23:44 +1000 Subject: [PATCH] AP_HAL_ChibiOS: remove HAL_CHIBIOS_ARCH_FMUV4 the boards that used this arch define their own sensors. The ARCH define isn't used anywhere, nor is the PX4_BOARD_TYPE value --- libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat | 4 +--- libraries/AP_HAL_ChibiOS/hwdef/luminousbee4/hwdef.dat | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat index f2c84b6c5f6..bd9aa6e3f95 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat @@ -169,8 +169,6 @@ SPIDEV hmc5843 SPI1 DEVID5 MAG_CS MODE3 11*MHZ 11*MHZ SPIDEV lis3mdl SPI1 DEVID5 MAG_CS MODE3 500*KHZ 500*KHZ SPIDEV ramtron SPI2 DEVID10 FRAM_CS MODE3 8*MHZ 8*MHZ -define HAL_CHIBIOS_ARCH_FMUV4 1 - define HAL_STORAGE_SIZE 16384 # enable RAMTROM parameter storage @@ -212,7 +210,7 @@ COMPASS LIS3MDL SPI:lis3mdl false ROTATION_NONE COMPASS AK8963:probe_mpu9250 0 ROTATION_ROLL_180_YAW_90 # also probe all types of external I2C compasses -define HAL_PROBE_EXTERNAL_I2C_COMPASSES +define HAL_PROBE_EXTERNAL_I2C_COMPASSES 1 # one barometer BARO MS5611 SPI:ms5611_int diff --git a/libraries/AP_HAL_ChibiOS/hwdef/luminousbee4/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/luminousbee4/hwdef.dat index 0e1deb72905..a7707812b54 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/luminousbee4/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/luminousbee4/hwdef.dat @@ -131,7 +131,6 @@ SPIDEV bmi088_g SPI4 DEVID1 BMI088_GYRO_CS MODE3 10*MHZ 10*MHZ SPIDEV bmi088_a SPI4 DEVID2 BMI088_ACCEL_CS MODE3 10*MHZ 10*MHZ SPIDEV ramtron SPI2 DEVID10 FRAM_CS MODE3 8*MHZ 8*MHZ SPIDEV dwm1000 SPI4 DEVID5 UWB_CS MODE0 3*MHZ 20*MHZ -define HAL_CHIBIOS_ARCH_FMUV4 1 define HAL_STORAGE_SIZE 16384 @@ -176,7 +175,7 @@ COMPASS HMC5843 SPI:hmc5843 false ROTATION_PITCH_180 COMPASS LIS3MDL SPI:lis3mdl false ROTATION_NONE # also probe all types of external I2C compasses -define HAL_PROBE_EXTERNAL_I2C_COMPASSES +define HAL_PROBE_EXTERNAL_I2C_COMPASSES 1 # Barometer ( DPS310 under test on micro frame ) BARO MS5611 SPI:ms5611_int