ardupilot/libraries/AP_HAL_ChibiOS/hwdef/MicoAir405Mini/hwdef-bl.dat
Andrew Tridgell ed58758ce6 hwdef: don't use DEFAULTGPIO in bootloaders
setting up a DEFAULTGPIO pulldown in bootloaders is a bad idea as it
overrides any hardware pullups that have been put in place as part of
a "hold in bootloader" mechanism. See discussion in #27360 for ELRS

note that this only impacts one board that I can see, the
BlitzF745AIO, due to the MCU vs DEFAULTGPIO interaction
2024-06-25 12:05:40 +10:00

37 lines
684 B
Plaintext

# hw definition file for processing by chibios_pins.py
# for the MicoAir405Mini hardware
# MCU class and specific type
MCU STM32F4xx STM32F405xx
# board ID for firmware load
APJ_BOARD_ID AP_HW_MicoAir405Mini
# crystal frequency & PPL, working at 168M
OSCILLATOR_HZ 8000000
STM32_PLLM_VALUE 8
# chip flash size & bootloader & firmware
FLASH_SIZE_KB 1024
FLASH_RESERVE_START_KB 0
FLASH_BOOTLOADER_LOAD_KB 48
# LEDs
PA8 LED_BOOTLOADER OUTPUT LOW #blue
PC4 LED_ACTIVITY OUTPUT LOW #green
define HAL_LED_ON 0
# order of UARTs and USB
SERIAL_ORDER OTG1
PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1
#CS pin
PB12 AT7456E_CS CS
PC14 BMI270_CS CS
PC13 DPS310_CS CS
PC9 SDCARD_CS CS