# hw definition file for processing by chibios_hwdef.py # for the NxtPX4v2 hardware # MCU class and specific type MCU STM32H7xx STM32H743xx # board ID for firmware load APJ_BOARD_ID 2001 # crystal frequency OSCILLATOR_HZ 8000000 # flash size FLASH_SIZE_KB 2048 # bootloader is installed at zero offset FLASH_RESERVE_START_KB 0 # the location where the bootloader will put the firmware FLASH_BOOTLOADER_LOAD_KB 128 # USB setup USB_STRING_MANUFACTURER "AeroCore" # baudrate to run bootloader at on uarts define BOOTLOADER_BAUDRATE 115200 # order of UARTs (and USB) SERIAL_ORDER OTG1 # USB PA11 OTG_FS_DM OTG1 PA12 OTG_FS_DP OTG1 # pins for SWD debugging PA13 JTMS-SWDIO SWD PA14 JTCK-SWCLK SWD # CS pins PA15 ICM_42688_1_CS CS PB12 ICM_42688_2_CS CS # LEDs PE6 LED_ACTIVITY OUTPUT LOW PB4 LED_BOOTLOADER OUTPUT LOW PE5 LED_RED OUTPUT LOW define HAL_LED_ON 1