mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 15:38:29 -04:00
118 lines
2.1 KiB
Plaintext
118 lines
2.1 KiB
Plaintext
# hw definition file for processing by chibios_hwdef.py
|
|
# for FMUv3 hardware
|
|
|
|
# MCU class and specific type
|
|
MCU STM32F4xx STM32F427xx
|
|
|
|
# board ID for firmware load
|
|
APJ_BOARD_ID 9
|
|
|
|
# crystal frequency
|
|
OSCILLATOR_HZ 24000000
|
|
|
|
# board voltage
|
|
STM32_VDD 330U
|
|
|
|
# serial port for stdout
|
|
STDOUT_SERIAL SD7
|
|
STDOUT_BAUDRATE 115200
|
|
|
|
# USB setup
|
|
USB_VENDOR 0x0483 # ST
|
|
USB_PRODUCT 0x5740
|
|
USB_STRING_MANUFACTURER "ArduPilot"
|
|
USB_STRING_PRODUCT "ChibiOS/RT Virtual COM Port"
|
|
USB_STRING_SERIAL "100"
|
|
|
|
# order of I2C buses
|
|
I2C_ORDER I2C2 I2C1
|
|
|
|
# UART4 serial GPS
|
|
PA0 UART4_TX UART4
|
|
PA1 UART4_RX UART4
|
|
PA2 BATT_VOLTAGE_SENS ADC1
|
|
PA3 BATT_CURRENT_SENS ADC1
|
|
PA4 VDD_5V_SENS ADC1
|
|
PA5 SPI1_SCK SPI1
|
|
PA6 SPI1_MISO SPI1
|
|
PA7 SPI1_MOSI SPI1
|
|
|
|
PA8 VDD_5V_PERIPH_EN OUTPUT LOW
|
|
PA9 VBUS INPUT OPENDRAIN
|
|
# PA10 IO-debug-console
|
|
PA11 OTG_FS_DM OTG1
|
|
PA12 OTG_FS_DP OTG1
|
|
PA13 JTMS-SWDIO SWD
|
|
PA14 JTCK-SWCLK SWD
|
|
# PA15 ALARM
|
|
|
|
PB0 EXTERN_DRDY INPUT
|
|
PB1 EXTERN_CS INPUT
|
|
PB2 BOOT1 INPUT
|
|
PB3 FMU_SW0 INPUT
|
|
PB8 I2C1_SCL I2C1
|
|
PB9 I2C1_SDA I2C1
|
|
PB10 I2C2_SCL I2C2
|
|
PB11 I2C2_SDA I2C2
|
|
PB13 SPI2_SCK SPI2
|
|
PB14 SPI2_MISO SPI2
|
|
PB15 SPI2_MOSI SPI2
|
|
|
|
PC0 VBUS_VALID INPUT
|
|
PC1 MAG_CS SPI1 CS
|
|
PC2 MPU_CS SPI1 CS
|
|
PC3 AUX_POWER ADC1
|
|
PC4 AUX_ADC2 ADC1
|
|
PC5 PRESSURE_SENS ADC1
|
|
# USART6 to IO
|
|
PC6 USART6_TX USART6
|
|
PC7 USART6_RX USART6
|
|
|
|
PC8 SDIO_D0 SDIO
|
|
PC9 SDIO_D1 SDIO
|
|
PC10 SDIO_D2 SDIO
|
|
PC11 SDIO_D3 SDIO
|
|
PC12 SDIO_CK SDIO
|
|
PC13 GYRO_EXT_CS CS
|
|
PC14 BARO_EXT_CS CS
|
|
PC15 ACCEL_EXT_CS CS
|
|
|
|
# PD0 CAN1_RX
|
|
# PD1 CAN1_TX
|
|
PD2 SDIO_CMD SDIO
|
|
# USART2 serial2 telem1
|
|
PD3 USART2_CTS USART2
|
|
PD4 USART2_RTS USART2
|
|
PD5 USART2_TX USART2
|
|
PD6 USART2_RX USART2
|
|
PD7 BARO_CS CS
|
|
|
|
# USART3 serial3 telem2
|
|
PD8 USART3_TX USART3
|
|
PD9 USART3_RX USART3
|
|
PD10 FRAM_CS CS
|
|
PD11 USART3_CTS USART3
|
|
PD12 USART3_RTS USART3
|
|
PD13 TIM4_CH2 TIM4
|
|
PD14 TIM4_CH3 TIM4
|
|
PD15 MPU_DRDY INPUT
|
|
|
|
# UART8 serial4 GPS2
|
|
PE0 UART8_RX UART8
|
|
PE1 UART8_TX UART8
|
|
PE2 SPI4_SCK SPI4
|
|
PE3 VDD_3V3_SENSORS_EN OUTPUT HIGH
|
|
PE4 MPU_EXT_CS CS
|
|
PE5 SPI4_MISO SPI4
|
|
PE6 SPI4_MOSI SPI4
|
|
# UART7 debug console
|
|
PE7 UART7_RX UART7
|
|
PE8 UART7_TX UART7
|
|
PE9 TIM1_CH1 TIM1
|
|
PE10 VDD_5V_HIPOWER_OC INPUT
|
|
PE11 TIM1_CH2 TIM1
|
|
PE12 FMU_LED_AMBER OUTPUT
|
|
PE13 TIM1_CH3 TIM1
|
|
PE14 TIM1_CH4 TIM1
|
|
PE15 VDD_5V_PERIPH_OC INPUT
|