mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_ChibiOS: enable watchdog in AP_Periph firmwares
This commit is contained in:
parent
e4cd2b1914
commit
c9308535c4
@ -19,6 +19,9 @@ env AP_PERIPH 1
|
|||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
# enable watchdog
|
||||||
|
define HAL_WATCHDOG_ENABLED_DEFAULT true
|
||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 16000000
|
OSCILLATOR_HZ 16000000
|
||||||
|
|
||||||
|
@ -68,6 +68,9 @@ PB11 USART3_RX USART3 SPEED_HIGH NODMA
|
|||||||
# don't enable DMA in UART driver
|
# don't enable DMA in UART driver
|
||||||
define HAL_UART_NODMA
|
define HAL_UART_NODMA
|
||||||
|
|
||||||
|
# enable watchdog
|
||||||
|
define HAL_WATCHDOG_ENABLED_DEFAULT true
|
||||||
|
|
||||||
# enable CAN support
|
# enable CAN support
|
||||||
PA11 CAN_RX CAN
|
PA11 CAN_RX CAN
|
||||||
PB9 CAN_TX CAN
|
PB9 CAN_TX CAN
|
||||||
|
@ -16,6 +16,9 @@ APJ_BOARD_ID 1000
|
|||||||
# setup build for a peripheral firmware
|
# setup build for a peripheral firmware
|
||||||
env AP_PERIPH 1
|
env AP_PERIPH 1
|
||||||
|
|
||||||
|
# enable watchdog
|
||||||
|
define HAL_WATCHDOG_ENABLED_DEFAULT true
|
||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user