ardupilot/libraries/AP_HAL_ChibiOS/hwdef/mRoNexus/hwdef-bl.dat

60 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-04-17 18:28:13 -03:00
# hw definition file for processing by chibios_hwdef.py
# mRo Nexus CAN flight controller bootloader
# M10084
# MCU class and specific type
MCU STM32H7xx STM32H743xx
# USB setup
USB_STRING_MANUFACTURER "mRo"
# crystal frequency
OSCILLATOR_HZ 25000000
# board ID for firmware load
APJ_BOARD_ID 1015
FLASH_SIZE_KB 2048
# bootloader is installed at zero offset
FLASH_RESERVE_START_KB 0
# the location where the bootloader will put the firmware
# the H743 has 128k sectors
FLASH_BOOTLOADER_LOAD_KB 128
PB0 LED_BOOTLOADER OUTPUT
# define all 3 to make LED output White.
PA6 LED_ACTIVITY OUTPUT
PA7 LED_ACTIVITY2 OUTPUT
# PB11 LED_ACTIVITY3 OUTPUT
define HAL_LED_ON 0
# order of UARTs (and USB)
SERIAL_ORDER OTG1 UART7
2020-04-17 18:28:13 -03:00
PE7 UART7_RX UART7
PE8 UART7_TX UART7
PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1
PA13 JTMS-SWDIO SWD
PA14 JTCK-SWCLK SWD
define HAL_USE_EMPTY_STORAGE 1
define HAL_STORAGE_SIZE 16384
# Add CS pins to ensure they are high in bootloader
PB12 CS_ADIS16470 CS
PA15 CS_ICM40609D CS
PE3 CS_DPS310 CS
PB11 CS_RM3100 CS
PE4 CS_FRAM CS
# This is the reset line for the adis16470. This will force a reset upon reboot.
PB1 nRST_ADIS OUTPUT LOW