Modify the LED light pins and adjust the direction of the IMU and COMPASS sensors.

This commit is contained in:
yjuav 2023-08-11 05:07:01 +08:00 committed by Andrew Tridgell
parent 5671e502d3
commit ac993753eb
2 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ PA14 JTCK-SWCLK SWD
PE15 LED_RED OUTPUT OPENDRAIN HIGH # red
PD10 LED_BOOTLOADER OUTPUT OPENDRAIN HIGH # green
PD4 LED_ACTIVITY OUTPUT OPENDRAIN HIGH # blue
PG0 LED_ACTIVITY OUTPUT OPENDRAIN HIGH # blue
define HAL_LED_ON 0

View File

@ -187,12 +187,12 @@ SPIDEV dps310 SPI5 DEVID3 BAROMETER1_CS MODE3 5*MHZ 5*MHZ
SPIDEV ms5611 SPI5 DEVID3 BAROMETER2_CS MODE3 5*MHZ 5*MHZ
# IMU1
IMU Invensense SPI:imu1 ROTATION_PITCH_180_YAW_90
IMU Invensensev3 SPI:imu1 ROTATION_PITCH_180_YAW_90
IMU Invensense SPI:imu1 ROTATION_NONE
IMU Invensensev3 SPI:imu1 ROTATION_NONE
# IMU2
IMU Invensense SPI:imu2 ROTATION_PITCH_180_YAW_90
IMU Invensensev3 SPI:imu2 ROTATION_PITCH_180_YAW_90
IMU Invensense SPI:imu2 ROTATION_NONE
IMU Invensensev3 SPI:imu2 ROTATION_NONE
define HAL_DEFAULT_INS_FAST_SAMPLE 5
@ -206,7 +206,7 @@ define HAL_COMPASS_DISABLE_IST8310_INTERNAL_PROBE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
COMPASS IST8310 I2C:ALL_EXTERNAL:0x0E true ROTATION_ROLL_180_YAW_90
COMPASS IST8310 I2C:0:0x0E false ROTATION_YAW_90
COMPASS IST8310 I2C:0:0x0E false ROTATION_YAW_180
# QuadSPI Flash
PD11 QUADSPI_BK1_IO0 QUADSPI1 SPEED_HIGH