hwdef: fixed f405-MatekGPS storage location and CAN

this allows for CAN firmware update using f405-MatekGPS bootloader by
fixing a typo, then moves storage to allow the bootloader with can to
fit on the board

this will allow CAN update of peripheral firmware for Matek GPS and
airspeed sensors
This commit is contained in:
Andrew Tridgell 2022-01-06 16:33:27 +11:00
parent 1236474cfb
commit de273fb76d
2 changed files with 5 additions and 4 deletions

View File

@ -40,11 +40,12 @@ PD2 UART5_RX UART5
PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1
# enable CAN support
PB8 CAN1_RX CAN1
PB9 CAN1_TX CAN1
define HAL_USE_CAN1 TRUE
PC13 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW
define HAL_USE_CAN TRUE
define STM32_CAN_USE_CAN1 TRUE
define CAN_APP_NODE_NAME "org.ardupilot.f405_MatekGPS"

View File

@ -7,8 +7,8 @@ MCU STM32F4xx STM32F405xx
FLASH_RESERVE_START_KB 64
FLASH_SIZE_KB 1024
# store parameters in pages 11 and 12
STORAGE_FLASH_PAGE 1
# store parameters in pages 2 and 3
STORAGE_FLASH_PAGE 2
define HAL_STORAGE_SIZE 15360
# board ID for firmware load