cuav_can-gps-v1:UavcanNode app ensure IWDG off in debuger

This commit is contained in:
David Sidrane
2021-01-29 12:02:38 -08:00
committed by Daniel Agar
parent 6ea06892ac
commit 28030e96e2
2 changed files with 3 additions and 0 deletions
@@ -139,6 +139,7 @@ CONFIG_STM32_RTC_MAGIC_REG=1
CONFIG_STM32_RTC_MAGIC_TIME_SET=0xfacefeef
CONFIG_STM32_SERIALBRK_BSDCOMPAT=y
CONFIG_STM32_SERIAL_DISABLE_REORDERING=y
CONFIG_STM32_JTAG_SW_ENABLE=y
CONFIG_STM32_SPI1=y
CONFIG_STM32_TIM8=y
CONFIG_STM32_USART1=y
+2
View File
@@ -66,6 +66,7 @@
#include <drivers/drv_hrt.h>
#include <drivers/drv_board_led.h>
#include <drivers/drv_watchdog.h>
#include <systemlib/px4_macros.h>
@@ -88,6 +89,7 @@
__EXPORT void
stm32_boardinitialize(void)
{
watchdog_init();
// Configure CAN interface
stm32_configgpio(GPIO_CAN1_RX);
stm32_configgpio(GPIO_CAN1_TX);