mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 13:15:32 +08:00
cuav_can-gps-v1:UavcanNode app ensure IWDG off in debuger
This commit is contained in:
committed by
Daniel Agar
parent
6ea06892ac
commit
28030e96e2
@@ -139,6 +139,7 @@ CONFIG_STM32_RTC_MAGIC_REG=1
|
|||||||
CONFIG_STM32_RTC_MAGIC_TIME_SET=0xfacefeef
|
CONFIG_STM32_RTC_MAGIC_TIME_SET=0xfacefeef
|
||||||
CONFIG_STM32_SERIALBRK_BSDCOMPAT=y
|
CONFIG_STM32_SERIALBRK_BSDCOMPAT=y
|
||||||
CONFIG_STM32_SERIAL_DISABLE_REORDERING=y
|
CONFIG_STM32_SERIAL_DISABLE_REORDERING=y
|
||||||
|
CONFIG_STM32_JTAG_SW_ENABLE=y
|
||||||
CONFIG_STM32_SPI1=y
|
CONFIG_STM32_SPI1=y
|
||||||
CONFIG_STM32_TIM8=y
|
CONFIG_STM32_TIM8=y
|
||||||
CONFIG_STM32_USART1=y
|
CONFIG_STM32_USART1=y
|
||||||
|
|||||||
@@ -66,6 +66,7 @@
|
|||||||
|
|
||||||
#include <drivers/drv_hrt.h>
|
#include <drivers/drv_hrt.h>
|
||||||
#include <drivers/drv_board_led.h>
|
#include <drivers/drv_board_led.h>
|
||||||
|
#include <drivers/drv_watchdog.h>
|
||||||
|
|
||||||
#include <systemlib/px4_macros.h>
|
#include <systemlib/px4_macros.h>
|
||||||
|
|
||||||
@@ -88,6 +89,7 @@
|
|||||||
__EXPORT void
|
__EXPORT void
|
||||||
stm32_boardinitialize(void)
|
stm32_boardinitialize(void)
|
||||||
{
|
{
|
||||||
|
watchdog_init();
|
||||||
// Configure CAN interface
|
// Configure CAN interface
|
||||||
stm32_configgpio(GPIO_CAN1_RX);
|
stm32_configgpio(GPIO_CAN1_RX);
|
||||||
stm32_configgpio(GPIO_CAN1_TX);
|
stm32_configgpio(GPIO_CAN1_TX);
|
||||||
|
|||||||
Reference in New Issue
Block a user