diff --git a/libraries/AP_HAL_ChibiOS/hwdef/ARKV6X/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/ARKV6X/hwdef.dat index 12bb9ae073..fb4b8c9721 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/ARKV6X/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/ARKV6X/hwdef.dat @@ -100,6 +100,7 @@ define HAL_GPIO_ETH_ENABLE 113 define BOARD_PHY_ID MII_LAN8742A_ID define BOARD_PHY_RMII +define HAL_PERIPH_ENABLE_NETWORKING # ADC PA0 SCALED1_V3V3 ADC1 SCALE(2) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef.dat index 9236fe0723..05377d79f0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef.dat @@ -72,6 +72,7 @@ PA1 ETH_RMII_REF_CLK ETH1 define BOARD_PHY_ID MII_LAN8720_ID define BOARD_PHY_RMII +define HAL_PERIPH_ENABLE_NETWORKING # --------------------------------------------------------------------------------------------- # 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 -env DISABLE_SCRIPTING 1 define AP_RC_CHANNEL_ENABLED 1 define AP_INERTIALSENSOR_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat index e905bf8f89..537ba0a67b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat @@ -4,8 +4,6 @@ # MCU class and specific type MCU STM32H7xx STM32H743xx -AUTOBUILD_TARGETS None - env OPTIMIZE -O2 # USB setup @@ -100,6 +98,7 @@ define HAL_GPIO_ETH_ENABLE 113 define BOARD_PHY_ID MII_LAN8742A_ID 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 ################################# -env DISABLE_SCRIPTING 1 - # 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 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* +AUTOBUILD_TARGETS None