mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
hwdef: add CoreWingF405WMiniV2
The CoreWing F405 Wing Mini V2 is a compact variant of the CoreWingF405WingV2. The hwdef inherits from the base target and only overrides the Mini-specific hardware differences. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
Andrew Tridgell
co-authored by
Claude Opus 5
parent
247974be1a
commit
d95d3c1f5f
Binary file not shown.
|
After Width: | Height: | Size: 227 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 182 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 192 KiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
# The VTX/CAM supply is high-side switched, so relay 1 is inverted: "relay on"
|
||||
# drives the pin low, which applies power. RELAY1_INVERTED has no hwdef
|
||||
# equivalent, so it has to be set here.
|
||||
RELAY1_INVERTED 1
|
||||
@@ -0,0 +1,8 @@
|
||||
# hw definition file for processing by chibios_pins.py
|
||||
# for CoreWing F405 Wing Mini V2 bootloader
|
||||
|
||||
include ../CoreWingF405WingV2/hwdef-bl.dat
|
||||
|
||||
# board ID for firmware load
|
||||
undef APJ_BOARD_ID
|
||||
APJ_BOARD_ID AP_HW_CoreWingF405WMiniV2
|
||||
@@ -0,0 +1,29 @@
|
||||
# hw definition file for CoreWing F405 Wing Mini V2
|
||||
# Derived from CoreWingF405WingV2. Keep the common F405 Wing-family
|
||||
# definitions in the base target and only override Mini-specific hardware
|
||||
# differences here.
|
||||
|
||||
include ../CoreWingF405WingV2/hwdef.dat
|
||||
|
||||
# board ID for firmware load
|
||||
undef APJ_BOARD_ID
|
||||
APJ_BOARD_ID AP_HW_CoreWingF405WMiniV2
|
||||
|
||||
# Mini V2 uses PC4 as the IMU data-ready input instead of analog RSSI.
|
||||
undef PC4
|
||||
PC4 MPU_DRDY INPUT
|
||||
|
||||
# Analog RSSI is not available on Mini V2 because PC4 is used by IMU DRDY.
|
||||
undef BOARD_RSSI_ANA_PIN
|
||||
|
||||
# The Mini V2 PDB current-sense scaling differs from the full Wing V2 board.
|
||||
undef HAL_BATT_CURR_SCALE
|
||||
define HAL_BATT_CURR_SCALE 51 # matched to Mini V2 PDB board
|
||||
|
||||
# PWM output differences from the base Wing V2 target.
|
||||
# Mini V2 does not enable bidirectional DShot on M1/M3.
|
||||
undef PB7 PB6 PB0 PB1
|
||||
PB7 TIM4_CH2 TIM4 PWM(1) GPIO(50)
|
||||
PB6 TIM4_CH1 TIM4 PWM(2) GPIO(51)
|
||||
PB0 TIM3_CH3 TIM3 PWM(3) GPIO(52)
|
||||
PB1 TIM3_CH4 TIM3 PWM(4) GPIO(53)
|
||||
Reference in New Issue
Block a user