HAL_ChibiOS: fixed IMU order and board ID for CubeBlack+

This commit is contained in:
Andrew Tridgell 2019-09-10 19:00:47 +10:00
parent e540248695
commit dceee38d69
3 changed files with 14 additions and 0 deletions

View File

@ -5,3 +5,5 @@ BATT_AMP_PERVLT 39.877
BATT_VOLT_MULT 12.02 BATT_VOLT_MULT 12.02
BATT2_AMP_PERVLT 39.877 BATT2_AMP_PERVLT 39.877
BATT2_VOLT_MULT 12.02 BATT2_VOLT_MULT 12.02
INS_FAST_SAMPLE 7

View File

@ -4,6 +4,9 @@
include ../fmuv3/hwdef-bl.dat include ../fmuv3/hwdef-bl.dat
# board ID for firmware load
APJ_BOARD_ID 1003
# USB setup # USB setup
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
USB_PRODUCT 0x1101 USB_PRODUCT 0x1101

View File

@ -4,5 +4,14 @@
include ../CubeBlack/hwdef.dat include ../CubeBlack/hwdef.dat
# board ID for firmware load
APJ_BOARD_ID 1003
undef IMU
IMU Invensense SPI:icm20602_ext ROTATION_ROLL_180_YAW_270
IMU Invensensev2 SPI:icm20948_ext ROTATION_PITCH_180
IMU Invensense SPI:mpu9250 ROTATION_YAW_270
undef ROMFS undef ROMFS
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin