Browse Source

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

release/1.12
David Sidrane 4 years ago committed by Daniel Agar
parent
commit
28030e96e2
  1. 1
      boards/cuav/can-gps-v1/nuttx-config/nsh/defconfig
  2. 2
      boards/cuav/can-gps-v1/src/init.c

1
boards/cuav/can-gps-v1/nuttx-config/nsh/defconfig

@ -139,6 +139,7 @@ CONFIG_STM32_RTC_MAGIC_REG=1 @@ -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
boards/cuav/can-gps-v1/src/init.c

@ -66,6 +66,7 @@ @@ -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 @@ @@ -88,6 +89,7 @@
__EXPORT void
stm32_boardinitialize(void)
{
watchdog_init();
// Configure CAN interface
stm32_configgpio(GPIO_CAN1_RX);
stm32_configgpio(GPIO_CAN1_TX);

Loading…
Cancel
Save