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

36 lines
699 B
Plaintext
Raw Normal View History

2022-09-04 08:41:44 -03:00
# hw definition file for processing by chibios_pins.py
# for minimal F405 bootloader
# MCU class and specific type
MCU STM32F4xx STM32F405xx
# board ID for firmware load
APJ_BOARD_ID 1078
# crystal frequency
OSCILLATOR_HZ 8000000
FLASH_SIZE_KB 1024
# bootloader is installed at zero offset
FLASH_RESERVE_START_KB 0
# LEDs
PA14 LED_BOOTLOADER OUTPUT LOW # blue led
PA13 LED_ACTIVITY OUTPUT LOW # green led
define HAL_LED_ON 0
# the location where the bootloader will put the firmware
FLASH_BOOTLOADER_LOAD_KB 64
# order of UARTs
SERIAL_ORDER OTG1
PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1
# Add CS pins to ensure they are high in bootloader
PA4 IMU_CS CS
PB6 SDCARD_CS CS
PB12 AT7456E_CS CS