mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
48c21299f8
hwdef for DevEBoxH7v2 pin definitions for STM32H750 add QSPI to DevEBox bootloader add external flash to DevEBox rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB Add support for EXT_FLASH_RESERVE_START_KB and EXT_FLASH_RESERVE_END_KB Disable HAL_ENABLE_SAVE_PERSISTENT_PARAMS when there is no bootloader flash available relax storage health status with SD card backend don't check SD card health unless USE_POSIX binary sections rearranged on external ram manage RAMFUNC through ldscript and optimize function placement in external flash inline timer functions optimize placement of ChibiOS and functions in ITCM and AXI RAM fix chibios features on bootloader build with external flash change H750 memory layout increase line storage for SD card based parameters comment external flash linker script move vtables into DTCM update ram map for H757 enable crashdump support with external flash correct bootloader pins and generator on SPRacingH7/DevEBoxH7v2 setup external flash reserve regions allow different RAM_MAP for external flash on H750 and H757
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
# hw definition file for processing by chibios_pins.py
|
|
# for SP/Racing Extreme H7 hardware.
|
|
|
|
# MCU class and specific type
|
|
MCU STM32H7xx STM32H750xx
|
|
|
|
# board ID for firmware load
|
|
APJ_BOARD_ID 1060
|
|
|
|
# crystal frequency, setup to use external oscillator
|
|
OSCILLATOR_HZ 8000000
|
|
|
|
# limited flash that can't be used
|
|
FLASH_SIZE_KB 128
|
|
FLASH_RESERVE_START_KB 0
|
|
FLASH_RESERVE_END_KB 0
|
|
FLASH_BOOTLOADER_LOAD_KB 128
|
|
|
|
# 16mb external flash
|
|
EXT_FLASH_SIZE_MB 16
|
|
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
|
|
|
|
# USART1
|
|
PB15 USART1_RX USART1
|
|
PB14 USART1_TX USART1
|
|
|
|
# USB
|
|
PA11 OTG_FS_DM OTG1
|
|
PA12 OTG_FS_DP OTG1
|
|
|
|
PA13 JTMS-SWDIO SWD
|
|
PA14 JTCK-SWCLK SWD
|
|
|
|
PE3 LED_BOOTLOADER OUTPUT LOW # Blue LED
|
|
define HAL_LED_ON 0
|
|
|
|
# QuadSPI Flash
|
|
PD11 QUADSPI_BK1_IO0 QUADSPI1
|
|
PD12 QUADSPI_BK1_IO1 QUADSPI1
|
|
PE2 QUADSPI_BK1_IO2 QUADSPI1
|
|
PD13 QUADSPI_BK1_IO3 QUADSPI1
|
|
PB10 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 24 2
|
|
|
|
define HAL_USE_EMPTY_STORAGE 1
|
|
define HAL_STORAGE_SIZE 16384
|
|
|
|
# Add CS pins to ensure they are high in bootloader
|
|
PB12 ICM20602_2_CS CS
|
|
PA15 ICM20602_1_CS CS
|
|
PE11 AT7456E_CS CS
|