hwdef: mRo Pixracer Pro - update and improve uniformity

This commit is contained in:
Phillip Kocmoud 2020-11-28 10:31:13 -06:00 committed by Peter Barker
parent 72acc8bfc8
commit b55920165a
3 changed files with 36 additions and 25 deletions

View File

@ -0,0 +1,7 @@
#Default Parameters for the mRo Pixracer Pro
CAN_P1_DRIVER 1
CAN_P2_DRIVER 2
CAN_SLCAN_CPORT 1
SERIAL6_PROTOCOL 22

View File

@ -1,13 +1,18 @@
########################################################################################################################################################### ###########################################################################################################################################################
# mRo Pixracer Pro Flight Controller # mRo Pixracer Pro Flight Controller
# STM32H753IIK6 # STM32H743IIK6
# 8 PWM / IO - DMA capable and switchable 3.3v (default) / 5v Logic # 8 PWM / IO - DMA capable and hardware and/or software switchable 3.3v / 5v Logic (hardware default)
# Exposed JST GH Connectors: GPS UART+I2C connector, 5 Available UARTS (2 with Flow Control), 2 FDCAN, SPI, Power with analog current and voltage sense # Logic level set in hardware: No Solder for 5v, Solder 1-2 for 3.3v, Solder 2-3 for 3.3v / 5v software switchable
# Exposed JST GH Connectors: GPS UART+I2C connector, 6 Available UARTS (2 with Flow Control), 2 FDCAN, SPI, I2C, Power with analog current and voltage sense
# 3 IMUs (ICM20602 6DOF, ICM20948 9DOF, BMI088 6DOF) # 3 IMUs (ICM20602 6DOF, ICM20948 9DOF, BMI088 6DOF)
# Baro, FRAM (256kb), SDCARD Socket, TC2030 JTAG # Baro, FRAM (256kb), SDCARD Socket, TC2030 JTAG, USB-C
# Onboard 3 color LED and buzzer # Onboard 3 color LED and buzzer
# 36mm x 36mm, 31.5mm x 31.5mm 4mm grommeted mounting holes for 3mm fasteners # Uncased weight and dimensions:
# M10064B - Initial Release # Weight (with headers): 11.3g (.40oz)
# Length: 36mm (1.42in)
# Width: 36mm (1.42in)
# Mounting holes: 31.5mm x 31.5mm 4mm grommeted mounting holes for 3mm fasteners
# M10064C - Initial Release
########################################################################################################################################################### ###########################################################################################################################################################
# MCU class and specific type # MCU class and specific type
@ -40,11 +45,7 @@ PB3 LED_ACTIVITY2 OUTPUT
define HAL_LED_ON 0 define HAL_LED_ON 0
# order of UARTs (and USB) # order of UARTs (and USB)
SERIAL_ORDER OTG1 UART7 SERIAL_ORDER OTG1
# UART7 maps to uartF in the HAL (serial5 in SERIALn_ parameters).
PE7 UART7_RX UART7
PE8 UART7_TX UART7
PA11 OTG_FS_DM OTG1 PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1 PA12 OTG_FS_DP OTG1

View File

@ -1,13 +1,18 @@
########################################################################################################################################################### ###########################################################################################################################################################
# mRo Pixracer Pro Flight Controller # mRo Pixracer Pro Flight Controller
# STM32H753IIK6 # STM32H743IIK6
# 8 PWM / IO - DMA capable and switchable 3.3v (default) / 5v Logic # 8 PWM / IO - DMA capable and hardware and/or software switchable 3.3v / 5v Logic (hardware default)
# Exposed JST GH Connectors: GPS UART+I2C connector, 5 Available UARTS (2 with Flow Control), 2 FDCAN, SPI, Power with analog current and voltage sense # Logic level set in hardware: No Solder for 5v, Solder 1-2 for 3.3v, Solder 2-3 for 3.3v / 5v software switchable
# Exposed JST GH Connectors: GPS UART+I2C connector, 6 Available UARTS (2 with Flow Control), 2 FDCAN, SPI, I2C, Power with analog current and voltage sense
# 3 IMUs (ICM20602 6DOF, ICM20948 9DOF, BMI088 6DOF) # 3 IMUs (ICM20602 6DOF, ICM20948 9DOF, BMI088 6DOF)
# Baro, FRAM (256kb), SDCARD Socket, TC2030 JTAG # Baro, FRAM (256kb), SDCARD Socket, TC2030 JTAG, USB-C
# Onboard 3 color LED and buzzer # Onboard 3 color LED and buzzer
# 36mm x 36mm, 31.5mm x 31.5mm 4mm grommeted mounting holes for 3mm fasteners # Uncased weight and dimensions:
# M10064B - Initial Release # Weight (with headers): 11.3g (.40oz)
# Length: 36mm (1.42in)
# Width: 36mm (1.42in)
# Mounting holes: 31.5mm x 31.5mm 4mm grommeted mounting holes for 3mm fasteners
# M10064C - Initial Release
########################################################################################################################################################### ###########################################################################################################################################################
# MCU class and specific type # MCU class and specific type
@ -34,8 +39,8 @@ define HAL_WITH_RAMTRON 1
# USB setup # USB setup
USB_STRING_MANUFACTURER "mRo" USB_STRING_MANUFACTURER "mRo"
# RC Input set for Interrupt not DMA # RC Input set for Interrupt also USART6_RX for serial RC
PC7 TIM3_CH2 TIM3 RCININT FLOAT LOW # also USART6_RX for serial RC PC7 TIM3_CH2 TIM3 RCININT FLOAT LOW
# Control of Spektrum power pin # Control of Spektrum power pin
PE4 SPEKTRUM_PWR OUTPUT LOW GPIO(70) PE4 SPEKTRUM_PWR OUTPUT LOW GPIO(70)
@ -55,14 +60,15 @@ I2C_ORDER I2C1
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
# order of UARTs (and USB) and suggested usage # order of UARTs (and USB) and suggested usage
# UART4 GPS
# USART2 Telem 1 (Flow Control) # USART2 Telem 1 (Flow Control)
# USART3 Telem 2 (Flow Control) # USART3 Telem 2 (Flow Control)
# UART4 GPS
# UART8 FRSKY Telem # UART8 FRSKY Telem
# USART6 RC input (Only RX pin is connected)
# USART1 Additional UART # USART1 Additional UART
# UART7 Additional UART # UART7 Additional UART
# USART6 RC input (Only RX pin is connected)
SERIAL_ORDER OTG1 USART2 USART3 UART4 UART8 USART1 UART7 OTG2 SERIAL_ORDER OTG1 USART2 USART3 UART4 UART8 USART1 UART7 OTG2
# default the 2nd interface to MAVLink2 # default the 2nd interface to MAVLink2
@ -258,15 +264,12 @@ define HAL_GPIO_A_LED_PIN 0
define HAL_GPIO_B_LED_PIN 1 define HAL_GPIO_B_LED_PIN 1
define HAL_GPIO_C_LED_PIN 2 define HAL_GPIO_C_LED_PIN 2
# DMA_PRIORITY SDMMC*
# DMA_NOSHARE SPI1* SPI2* SPI3*
# 3 IMUs # 3 IMUs
IMU BMI088 SPI:bmi088_a SPI:bmi088_g ROTATION_NONE IMU BMI088 SPI:bmi088_a SPI:bmi088_g ROTATION_NONE
IMU Invensense SPI:icm20608 ROTATION_ROLL_180_YAW_90 IMU Invensense SPI:icm20608 ROTATION_ROLL_180_YAW_90
IMU Invensensev2 SPI:icm20948 ROTATION_ROLL_180_YAW_90 IMU Invensensev2 SPI:icm20948 ROTATION_ROLL_180_YAW_90
define HAL_DEFAULT_INS_FAST_SAMPLE 5 define HAL_DEFAULT_INS_FAST_SAMPLE 7
# 1 baro # 1 baro
BARO DPS280 SPI:dps310 BARO DPS280 SPI:dps310