mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_HAL_ChibiOS: update hwdefs for eth
This commit is contained in:
parent
d59c3d7de0
commit
8bddd4168b
@ -100,6 +100,7 @@ define HAL_GPIO_ETH_ENABLE 113
|
|||||||
|
|
||||||
define BOARD_PHY_ID MII_LAN8742A_ID
|
define BOARD_PHY_ID MII_LAN8742A_ID
|
||||||
define BOARD_PHY_RMII
|
define BOARD_PHY_RMII
|
||||||
|
define HAL_PERIPH_ENABLE_NETWORKING
|
||||||
|
|
||||||
# ADC
|
# ADC
|
||||||
PA0 SCALED1_V3V3 ADC1 SCALE(2)
|
PA0 SCALED1_V3V3 ADC1 SCALE(2)
|
||||||
|
@ -72,6 +72,7 @@ PA1 ETH_RMII_REF_CLK ETH1
|
|||||||
|
|
||||||
define BOARD_PHY_ID MII_LAN8720_ID
|
define BOARD_PHY_ID MII_LAN8720_ID
|
||||||
define BOARD_PHY_RMII
|
define BOARD_PHY_RMII
|
||||||
|
define HAL_PERIPH_ENABLE_NETWORKING
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------
|
||||||
# AP_Periph - boiler-plate configurations that all HW AP-Periph need
|
# AP_Periph - boiler-plate configurations that all HW AP-Periph need
|
||||||
@ -86,7 +87,6 @@ define HAL_DISABLE_LOOP_DELAY
|
|||||||
#################################
|
#################################
|
||||||
|
|
||||||
define HAL_BARO_ALLOW_INIT_NO_BARO
|
define HAL_BARO_ALLOW_INIT_NO_BARO
|
||||||
env DISABLE_SCRIPTING 1
|
|
||||||
define AP_RC_CHANNEL_ENABLED 1
|
define AP_RC_CHANNEL_ENABLED 1
|
||||||
define AP_INERTIALSENSOR_ENABLED 0
|
define AP_INERTIALSENSOR_ENABLED 0
|
||||||
|
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
# MCU class and specific type
|
# MCU class and specific type
|
||||||
MCU STM32H7xx STM32H743xx
|
MCU STM32H7xx STM32H743xx
|
||||||
|
|
||||||
AUTOBUILD_TARGETS None
|
|
||||||
|
|
||||||
env OPTIMIZE -O2
|
env OPTIMIZE -O2
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
@ -100,6 +98,7 @@ define HAL_GPIO_ETH_ENABLE 113
|
|||||||
|
|
||||||
define BOARD_PHY_ID MII_LAN8742A_ID
|
define BOARD_PHY_ID MII_LAN8742A_ID
|
||||||
define BOARD_PHY_RMII
|
define BOARD_PHY_RMII
|
||||||
|
define HAL_PERIPH_ENABLE_NETWORKING
|
||||||
|
|
||||||
###################
|
###################
|
||||||
|
|
||||||
@ -147,8 +146,6 @@ define HAL_LOGGING_ENABLED TRUE
|
|||||||
# AP_Periph - configurations specific to this App
|
# AP_Periph - configurations specific to this App
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
env DISABLE_SCRIPTING 1
|
|
||||||
|
|
||||||
# listen for reboot command from uploader.py script
|
# listen for reboot command from uploader.py script
|
||||||
# undefine to disable. Use -1 to allow on all ports, otherwise serial number index defined in SERIAL_ORDER starting at 0
|
# undefine to disable. Use -1 to allow on all ports, otherwise serial number index defined in SERIAL_ORDER starting at 0
|
||||||
define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
|
define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
|
||||||
@ -157,3 +154,4 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
|
|||||||
|
|
||||||
DMA_NOSHARE USART1* USART2* CAN1*
|
DMA_NOSHARE USART1* USART2* CAN1*
|
||||||
|
|
||||||
|
AUTOBUILD_TARGETS None
|
||||||
|
Loading…
Reference in New Issue
Block a user