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

48 lines
948 B
Plaintext
Raw Normal View History

2021-12-31 13:18:42 -04:00
# hw definition file for processing by chibios_pins.py
# for Holybro KakuteH7Mini bootloader
# MCU class and specific type
MCU STM32H7xx STM32H743xx
# board ID for firmware load
APJ_BOARD_ID 1058
# crystal frequency, setup to use external oscillator
OSCILLATOR_HZ 8000000
FLASH_SIZE_KB 2048
# bootloader starts at zero offset
FLASH_RESERVE_START_KB 0
# the location where the bootloader will put the firmware
FLASH_BOOTLOADER_LOAD_KB 128
define HAL_STORAGE_SIZE 32768
2021-12-31 13:18:42 -04:00
# order of UARTs (and USB)
SERIAL_ORDER OTG1
# PA10 IO-debug-console
PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1
PA13 JTMS-SWDIO SWD
PA14 JTCK-SWCLK SWD
PC13 BUZZER OUTPUT LOW PULLDOWN
PC2 LED_BOOTLOADER OUTPUT LOW
define HAL_LED_ON 1
# default to all pins low to avoid ESD issues
DEFAULTGPIO OUTPUT LOW PULLDOWN
# Add CS pins to ensure they are high in bootloader
PE4 IMU_CS CS
PB12 MAX7456_CS CS
PA4 FLASH_CS CS
## pull up VTX power
PB11 VTX_PWR OUTPUT HIGH GPIO(81)