Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAL_ChibiOS: hwdef: add new hardware MFE-PixSurveyA1 #21113

Merged
merged 3 commits into from Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Tools/AP_Bootloader/board_types.txt
Expand Up @@ -175,6 +175,7 @@ AP_HW_GreenSight_microBlue 1072
AP_HW_MAMBAH743_V4 1073
AP_HW_REAPERF745_V2 1074
AP_HW_SKYSTARSH7HD 1075
AP_HW_PixSurveyA1 1076

AP_HW_CUBEORANGE_PERIPH 1400
AP_HW_CUBEBLACK_PERIPH 1401
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/PixSurveyA1/hwdef-bl.dat
@@ -0,0 +1,2 @@
include ../fmuv3/hwdef-bl.dat
APJ_BOARD_ID 1076
21 changes: 21 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/PixSurveyA1/hwdef.dat
@@ -0,0 +1,21 @@
# hw definition file for processing by chibios_hwdef.py
# for MFE-V3, based on fmuv3
include ../fmuv3/hwdef.dat

APJ_BOARD_ID 1076

#Use MPU9250 or ICM20948 on the new hardware
COMPASS AK8963:probe_mpu9250 0 ROTATION_PITCH_180
COMPASS AK09916:probe_ICM20948 0 ROTATION_ROLL_180_YAW_90

COMPASS LSM303D SPI:lsm9ds0_ext_am ROTATION_YAW_270
define HAL_PROBE_EXTERNAL_I2C_COMPASSES

# two baros
BARO MS56XX SPI:ms5611_ext
BARO MS56XX SPI:ms5611

define HAL_IMU_TEMP_DEFAULT 45
define HAL_IMUHEAT_P_DEFAULT 50
define HAL_IMUHEAT_I_DEFAULT 0.07
define HAL_IMU_TEMP_MARGIN_LOW_DEFAULT 5