diff --git a/Tools/bootloaders/X-MAV-AP-H743v2_bl.bin b/Tools/bootloaders/X-MAV-AP-H743v2_bl.bin index 83e59826289a3f..1d28336d1c8d94 100755 Binary files a/Tools/bootloaders/X-MAV-AP-H743v2_bl.bin and b/Tools/bootloaders/X-MAV-AP-H743v2_bl.bin differ diff --git a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/README.md b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/README.md index bca68bf98bef18..8c23137a9e396b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/README.md +++ b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/README.md @@ -57,9 +57,6 @@ The AP-H743v2 supports up to 8 PWM outputs. All the channels support DShot and BiDir DShot. - -Channels 1-8 support bi-directional DShot. - Outputs are grouped and every output within a group must use the same output protocol: diff --git a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef-bl.dat index b97d2d0edbd227..3749272a13644b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef-bl.dat @@ -41,3 +41,17 @@ PC13 ICM42688P_CS CS PD11 LED_ACTIVITY OUTPUT HIGH GPIO(91) #green PB15 LED_BOOTLOADER OUTPUT HIGH GPIO(92) #blue define HAL_LED_ON 1 + +# microSD support +PC12 SDMMC1_CK SDMMC1 +PD2 SDMMC1_CMD SDMMC1 +PC8 SDMMC1_D0 SDMMC1 +PC9 SDMMC1_D1 SDMMC1 +PC10 SDMMC1_D2 SDMMC1 +PC11 SDMMC1_D3 SDMMC1 +define FATFS_HAL_DEVICE SDCD1 + +# enable FAT filesystem support (needs a microSD defined via SDMMC) +define HAL_OS_FATFS_IO 1 + +define AP_BOOTLOADER_FLASH_FROM_SD_ENABLED 1 \ No newline at end of file diff --git a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat index 18da4c30d8f633..148e8be9b625db 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat @@ -168,8 +168,7 @@ COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_YAW_90 define HAL_OS_FATFS_IO 1 #Serial Port defaults -define DEFAULT_SERIAL1_PROTOCOL SerialProtocol_MAVLink2 -define DEFAULT_SERIAL3_PROTOCOL SerialProtocol_GPS +define DEFAULT_SERIAL4_PROTOCOL SerialProtocol_None define DEFAULT_SERIAL6_PROTOCOL SerialProtocol_MSP_DisplayPort define DEFAULT_SERIAL7_PROTOCOL SerialProtocol_RCIN define DEFAULT_SERIAL8_PROTOCOL SerialProtocol_ESCTelemetry