mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-14 12:48:31 -04:00
HAL_ChibiOS: added fmuv4 bootloader hwdef-bl.dat
This commit is contained in:
parent
3a5b3b4b1b
commit
f7f9d2b0e7
52
libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef-bl.dat
Normal file
52
libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef-bl.dat
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# hw definition file for processing by chibios_hwdef.py
|
||||||
|
# for FMUv4 bootloader
|
||||||
|
|
||||||
|
# MCU class and specific type
|
||||||
|
MCU STM32F4xx STM32F427xx
|
||||||
|
|
||||||
|
# board ID for firmware load
|
||||||
|
APJ_BOARD_ID 11
|
||||||
|
|
||||||
|
# USB setup
|
||||||
|
USB_STRING_PRODUCT "fmuv4-BL"
|
||||||
|
|
||||||
|
# crystal frequency
|
||||||
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
|
# board voltage
|
||||||
|
STM32_VDD 330U
|
||||||
|
|
||||||
|
# ChibiOS system timer
|
||||||
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
# flash size
|
||||||
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
|
# order of UARTs (and USB)
|
||||||
|
UART_ORDER OTG1 USART2
|
||||||
|
|
||||||
|
PB1 LED_BOOTLOADER OUTPUT
|
||||||
|
PB3 LED_ACTIVITY OUTPUT
|
||||||
|
define HAL_LED_ON 1
|
||||||
|
|
||||||
|
PA9 VBUS INPUT
|
||||||
|
|
||||||
|
PA11 OTG_FS_DM OTG1
|
||||||
|
PA12 OTG_FS_DP OTG1
|
||||||
|
|
||||||
|
PA13 JTMS-SWDIO SWD
|
||||||
|
PA14 JTCK-SWCLK SWD
|
||||||
|
|
||||||
|
# USART2 serial2 telem1
|
||||||
|
PD3 USART2_CTS USART2
|
||||||
|
PD4 USART2_RTS USART2
|
||||||
|
PD5 USART2_TX USART2
|
||||||
|
PD6 USART2_RX USART2
|
||||||
|
|
||||||
|
define HAL_STORAGE_SIZE 16384
|
||||||
|
|
||||||
|
# location of application code
|
||||||
|
define FLASH_BOOTLOADER_LOAD_KB 16
|
||||||
|
|
||||||
|
# bootloader loads at start of flash
|
||||||
|
FLASH_RESERVE_START_KB 0
|
Loading…
Reference in New Issue
Block a user