From e68532a86e46b609799ed5373fa2b66f0478fc3d Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 23 Jan 2017 12:30:12 -1000 Subject: [PATCH] mindpx-v2 use board common reset interface --- nuttx-configs/mindpx-v2/nsh/defconfig | 2 +- src/drivers/boards/mindpx-v2/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nuttx-configs/mindpx-v2/nsh/defconfig b/nuttx-configs/mindpx-v2/nsh/defconfig index e5b00229f1..b419408704 100644 --- a/nuttx-configs/mindpx-v2/nsh/defconfig +++ b/nuttx-configs/mindpx-v2/nsh/defconfig @@ -661,7 +661,7 @@ CONFIG_NSH_MMCSDSLOTNO=0 # Board-Specific Options # CONFIG_LIB_BOARDCTL=y -# CONFIG_BOARDCTL_RESET is not set +CONFIG_BOARDCTL_RESET=y # CONFIG_BOARDCTL_UNIQUEID is not set CONFIG_BOARDCTL_USBDEVCTRL=y # CONFIG_BOARDCTL_TSCTEST is not set diff --git a/src/drivers/boards/mindpx-v2/CMakeLists.txt b/src/drivers/boards/mindpx-v2/CMakeLists.txt index 7eb553147a..0c8e1d4fd0 100644 --- a/src/drivers/boards/mindpx-v2/CMakeLists.txt +++ b/src/drivers/boards/mindpx-v2/CMakeLists.txt @@ -36,6 +36,7 @@ px4_add_module( SRCS ../common/board_crashdump.c ../common/board_dma_alloc.c + ../common/stm32/board_reset.c mindpx_can.c mindpx2_init.c mindpx_timer_config.c