mirror of https://github.com/ArduPilot/ardupilot
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
|
# hw definition file for processing by chibios_pins.py
|
||
|
# for DevEBox H7 hardware.
|
||
|
|
||
|
# MCU class and specific type
|
||
|
MCU STM32H7xx STM32H750xx
|
||
|
|
||
|
# board ID for firmware load
|
||
|
APJ_BOARD_ID 1061
|
||
|
|
||
|
# crystal frequency, setup to use external oscillator
|
||
|
OSCILLATOR_HZ 25000000
|
||
|
|
||
|
FLASH_SIZE_KB 128
|
||
|
FLASH_RESERVE_START_KB 0
|
||
|
FLASH_RESERVE_END_KB 0
|
||
|
FLASH_BOOTLOADER_LOAD_KB 128
|
||
|
|
||
|
# 8mb external flash
|
||
|
EXT_FLASH_SIZE_MB 8
|
||
|
EXT_FLASH_RESERVE_START_KB 1024
|
||
|
EXT_FLASH_RESERVE_END_KB 448
|
||
|
|
||
|
# order of UARTs (and USB). Allow bootloading on USB and telem1
|
||
|
SERIAL_ORDER OTG1 USART1 UART7
|
||
|
|
||
|
# UART7 is debug
|
||
|
PE7 UART7_RX UART7 NODMA
|
||
|
PE8 UART7_TX UART7 NODMA
|
||
|
define BOOTLOADER_DEBUG SD7
|
||
|
|
||
|
# QuadSPI Flash
|
||
|
PD11 QUADSPI_BK1_IO0 QUADSPI1
|
||
|
PD12 QUADSPI_BK1_IO1 QUADSPI1
|
||
|
PE2 QUADSPI_BK1_IO2 QUADSPI1
|
||
|
PD13 QUADSPI_BK1_IO3 QUADSPI1
|
||
|
PB6 QUADSPI_BK1_NCS QUADSPI1
|
||
|
PB2 QUADSPI_CLK QUADSPI1
|
||
|
|
||
|
# IFace Device Name Bus QSPI Mode Clk Freq Size (Pow2) NCS Delay
|
||
|
QSPIDEV w25q QUADSPI1 MODE3 120*MHZ 23 2
|
||
|
|
||
|
# USART1
|
||
|
PA10 USART1_RX USART1
|
||
|
PA9 USART1_TX USART1
|
||
|
|
||
|
# USB
|
||
|
PA11 OTG_FS_DM OTG1
|
||
|
PA12 OTG_FS_DP OTG1
|
||
|
|
||
|
PA13 JTMS-SWDIO SWD
|
||
|
PA14 JTCK-SWCLK SWD
|
||
|
|
||
|
PA1 LED_BOOTLOADER OUTPUT LOW
|
||
|
define HAL_LED_ON 0
|
||
|
|
||
|
define HAL_USE_EMPTY_STORAGE 1
|
||
|
define HAL_STORAGE_SIZE 16384
|
||
|
|
||
|
# Add CS pins to ensure they are high in bootloader
|
||
|
PA4 MPU6000_CS CS
|