Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_HAL_ChibiOS: Update hwdef for CubeNode-ETH #28665

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/CubeNode-ETH/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,25 @@ include ../CubeNode/hwdef.dat
# we need RTS/CTS for the PPP link
undef PE0
undef PE1
undef PC11
undef PC12
undef HAL_PERIPH_ENABLE_IMU
undef HAL_GCS_ENABLED

# need to use UART8 to get RTS/CTS
PE1 UART8_TX UART8
PE0 UART8_RX UART8
PA10 UART8_RTS UART8
PC11 UART8_CTS_GPIO UART8
PC12 UART8_CTS_GPIO UART8

SERIAL_ORDER OTG1 UART8

PA4 VDD_5V_SENS ADC1 SCALE(2)

# LEDs
undef PC11
PC11 LED0 OUTPUT LOW GPIO(0)
PB14 LED1 OUTPUT LOW GPIO(1)

undef HAL_USE_ADC
define HAL_USE_ADC TRUE
define HAL_WITH_MCU_MONITORING 1
Expand All @@ -29,3 +34,5 @@ include ../include/network_PPPGW.inc
define HAL_MONITOR_THREAD_ENABLED 1

define AP_NETWORKING_TESTS_ENABLED 1

define HAL_PERIPH_SHOW_SERIAL_MANAGER_PARAMS 1
Loading