mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
hwdef: update SIYI_N7 hwdef
the N7 isn't the same as the Durandal. It has 1 CAN bus, and 2 less UARTs, and an extra compass. This fixes the hwdef.dat to match the schematic
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,46 @@
|
||||
include ../Durandal/hwdef-bl.dat
|
||||
# hw definition file for processing by chibios_hwdef.py
|
||||
# for H743 bootloader
|
||||
|
||||
# MCU class and specific type
|
||||
MCU STM32H7xx STM32H743xx
|
||||
|
||||
# board ID for firmware load
|
||||
APJ_BOARD_ID 1123
|
||||
|
||||
undef USB_VENDOR
|
||||
undef USB_PRODUCT
|
||||
undef USB_STRING_MANUFACTURER
|
||||
# crystal frequency
|
||||
OSCILLATOR_HZ 16000000
|
||||
|
||||
FLASH_SIZE_KB 2048
|
||||
|
||||
# bootloader is installed at zero offset
|
||||
FLASH_RESERVE_START_KB 0
|
||||
|
||||
FLASH_BOOTLOADER_LOAD_KB 128
|
||||
|
||||
PB1 LED_RED OUTPUT LOW # red
|
||||
PC6 LED_ACTIVITY OUTPUT LOW # green
|
||||
PC7 LED_BOOTLOADER OUTPUT LOW # blue
|
||||
define HAL_LED_ON 0
|
||||
|
||||
# order of UARTs (and USB)
|
||||
SERIAL_ORDER OTG1 UART7
|
||||
|
||||
# UART7 is debug
|
||||
PF6 UART7_RX UART7 NODMA
|
||||
PE8 UART7_TX UART7 NODMA
|
||||
|
||||
PA11 OTG_FS_DM OTG1
|
||||
PA12 OTG_FS_DP OTG1
|
||||
|
||||
PA13 JTMS-SWDIO SWD
|
||||
PA14 JTCK-SWCLK SWD
|
||||
|
||||
# pullup buzzer for no sound in bootloader
|
||||
PE5 BUZZER OUTPUT LOW PULLDOWN
|
||||
|
||||
# Add CS pins to ensure they are high in bootloader
|
||||
PF10 MS5611_CS CS
|
||||
PF2 ICM20689_CS CS
|
||||
PF4 BMI055_G_CS CS
|
||||
PG10 BMI055_A_CS CS
|
||||
PF5 FRAM_CS CS SPEED_VERYLOW
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user