From 4bbcb9a768f9697cd3f1f668f62585c801f18624 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 23 Jan 2017 12:30:59 -1000 Subject: [PATCH] px4-stm32f4discovery use board common reset interface --- nuttx-configs/px4-stm32f4discovery/nsh/defconfig | 2 +- src/drivers/boards/px4-stm32f4discovery/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nuttx-configs/px4-stm32f4discovery/nsh/defconfig b/nuttx-configs/px4-stm32f4discovery/nsh/defconfig index 63af01b74a..564163de77 100644 --- a/nuttx-configs/px4-stm32f4discovery/nsh/defconfig +++ b/nuttx-configs/px4-stm32f4discovery/nsh/defconfig @@ -633,7 +633,7 @@ CONFIG_NSH_MMCSDMINOR=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/px4-stm32f4discovery/CMakeLists.txt b/src/drivers/boards/px4-stm32f4discovery/CMakeLists.txt index e4af694e5d..11279f50a4 100644 --- a/src/drivers/boards/px4-stm32f4discovery/CMakeLists.txt +++ b/src/drivers/boards/px4-stm32f4discovery/CMakeLists.txt @@ -33,6 +33,7 @@ px4_add_module( MODULE drivers__boards__px4-stm32f4discovery SRCS + ../common/stm32/board_reset.c px4discovery_init.c px4discovery_usb.c px4discovery_led.c