Skip to content

Commit

Permalink
hwdef: Modify the conents of the README for AEROFOX-H7, delete OTG2 d…
Browse files Browse the repository at this point in the history
…efault protocol in hwdef.dat
  • Loading branch information
laoshen14789 committed Nov 15, 2024
1 parent 117aa35 commit a2a2966
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,16 @@ The board has a builting voltage and current sensor. The voltage sensor can hand
to 12S LiPo batteries.

### The power A is onboard voltage sensor
It is enabled by default and has the following parameters set by default:
It is enabled by default and has the following parameters set by default:s
- BATT_MONITOR 4
- BATT_VOLT_PIN 19
- BATT_CURR_PIN 9
- BATT_VOLT_MULT 21
- BATT_AMP_PERVL 60

### The power B is external PMU input
- BATT_MONITOR 4
An additional power monitor input is provided and can be enabled by setting:
- BATT_MONITOR 4, then reboot and set the following:
- BATT_VOLT_PIN 10
- BATT_CURR_PIN 11
- BATT_VOLT_MULT 34
Expand Down
3 changes: 0 additions & 3 deletions libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ define DEFAULT_SERIAL6_PROTOCOL SerialProtocol_MAVLink2
PD8 USART3_TX USART3
PD9 USART3_RX USART3

# default the 2nd interface to SLCAN
define HAL_OTG2_PROTOCOL SerialProtocol_SLCAN

# CAN
PD0 CAN1_RX CAN1
PD1 CAN1_TX CAN1
Expand Down

0 comments on commit a2a2966

Please sign in to comment.