# hw definition file for processing by chibios_hwdef.py # for the AeroCore hardware # MCU class and specific type MCU STM32H7xx STM32H743xx # board ID for firmware load APJ_BOARD_ID 2001 # crystal frequency OSCILLATOR_HZ 8000000 # ChibiOS system timer STM32_ST_USE_TIMER 12 define CH_CFG_ST_RESOLUTION 16 # flash size FLASH_SIZE_KB 2048 FLASH_RESERVE_START_KB 128 define HAL_STORAGE_SIZE 32768 STORAGE_FLASH_PAGE 14 # default to all pins low to avoid ESD issues DEFAULTGPIO OUTPUT LOW PULLDOWN # order of UARTs (and USB) SERIAL_ORDER OTG1 USART1 # USB PA11 OTG_FS_DM OTG1 PA12 OTG_FS_DP OTG1 # GPS1 PA9 USART1_TX USART1 PA10 USART1_RX USART1 # ADC for Power PC0 BATT_VOLTAGE_SENS ADC1 SCALE(1) PC1 BATT_CURRENT_SENS ADC1 SCALE(1) define HAL_BARO_ALLOW_INIT_NO_BARO