mirror of https://github.com/ArduPilot/ardupilot
49 lines
920 B
Plaintext
49 lines
920 B
Plaintext
# hw definition file for processing by chibios_hwdef.py
|
|
# for the MicoAir743 hardware
|
|
|
|
# MCU class and specific type
|
|
MCU STM32H7xx STM32H743xx
|
|
|
|
# board ID for firmware load
|
|
APJ_BOARD_ID AP_HW_MicoAir743
|
|
|
|
# crystal frequency
|
|
OSCILLATOR_HZ 8000000
|
|
|
|
# flash size
|
|
FLASH_SIZE_KB 2048
|
|
|
|
# bootloader is installed at zero offset
|
|
FLASH_RESERVE_START_KB 0
|
|
|
|
# the location where the bootloader will put the firmware
|
|
FLASH_BOOTLOADER_LOAD_KB 128
|
|
|
|
# default to all pins low to avoid ESD issues
|
|
DEFAULTGPIO OUTPUT LOW PULLDOWN
|
|
|
|
# order of UARTs (and USB)
|
|
SERIAL_ORDER OTG1 USART1
|
|
|
|
# USB
|
|
PA11 OTG_FS_DM OTG1
|
|
PA12 OTG_FS_DP OTG1
|
|
|
|
# USART1
|
|
PA9 USART1_TX USART1
|
|
PA10 USART1_RX USART1
|
|
|
|
# pins for SWD debugging
|
|
PA13 JTMS-SWDIO SWD
|
|
PA14 JTCK-SWCLK SWD
|
|
|
|
# CS pins
|
|
PB12 AT7456E_CS CS
|
|
PA15 BMI270_CS CS
|
|
PD5 GYRO_CS CS
|
|
PD4 ACCEL_CS CS
|
|
|
|
# LEDs
|
|
PE6 LED_ACTIVITY OUTPUT LOW #green
|
|
PE4 LED_BOOTLOADER OUTPUT LOW #blue
|
|
define HAL_LED_ON 0 |