AP_HAL_ChibiOS: change name CubePilot-CANMod and -PPPGW to CubeNode

This commit is contained in:
bugobliterator 2024-10-13 13:55:59 +08:00 committed by Andrew Tridgell
parent ef7e39e6c4
commit 87ae3bccec
6 changed files with 17 additions and 3 deletions

View File

@ -1,4 +1,4 @@
include ../CubePilot-CANMod/hwdef-bl.dat include ../CubeNode/hwdef-bl.dat
# Ethernet # Ethernet
PC1 ETH_MDC ETH1 PC1 ETH_MDC ETH1

View File

@ -1,4 +1,4 @@
include ../CubePilot-CANMod/hwdef.dat include ../CubeNode/hwdef.dat
# we need RTS/CTS for the PPP link # we need RTS/CTS for the PPP link
undef PE0 undef PE0

View File

@ -70,12 +70,26 @@ define BOARD_PHY_ID MII_LAN8720_ID
define BOARD_PHY_RMII define BOARD_PHY_RMII
define HAL_PERIPH_ENABLE_NETWORKING define HAL_PERIPH_ENABLE_NETWORKING
# IMU
PC10 SPI3_SCK SPI3
PC11 SPI3_MISO SPI3
PC12 SPI3_MOSI SPI3
PG15 IMU_CS CS
SPIDEV icm45686 SPI3 DEVID4 IMU_CS MODE0 24*MHZ 24*MHZ
IMU Invensensev3 SPI:icm45686 ROTATION_NONE
define HAL_PERIPH_ENABLE_IMU
# Periph GCS
define HAL_GCS_ENABLED 1
################################# #################################
# AP_Periph - configurations specific to this App # AP_Periph - configurations specific to this App
################################# #################################
define HAL_BARO_ALLOW_INIT_NO_BARO define HAL_BARO_ALLOW_INIT_NO_BARO
define AP_INERTIALSENSOR_ENABLED 0
define AP_NETWORKING_MAX_INSTANCES 4 define AP_NETWORKING_MAX_INSTANCES 4