From dde2a0164e4795e4a92ea0da5a04496265f2ca6b Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 23 Jan 2017 13:55:37 -1000 Subject: [PATCH] s2740vc-v1 use board common reset interface --- nuttx-configs/s2740vc-v1/nsh/defconfig | 10 +++++++++- src/drivers/boards/s2740vc-v1/CMakeLists.txt | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nuttx-configs/s2740vc-v1/nsh/defconfig b/nuttx-configs/s2740vc-v1/nsh/defconfig index ac97e5a250..00d820d464 100644 --- a/nuttx-configs/s2740vc-v1/nsh/defconfig +++ b/nuttx-configs/s2740vc-v1/nsh/defconfig @@ -544,7 +544,15 @@ CONFIG_ARCH_BOARD="s2740vc-v1" # # Board-Specific Options # -# CONFIG_LIB_BOARDCTL is not set +CONFIG_LIB_BOARDCTL=y +CONFIG_BOARDCTL_RESET=y +# CONFIG_BOARDCTL_UNIQUEID is not set +# CONFIG_BOARDCTL_USBDEVCTRL is not set +# CONFIG_BOARDCTL_TSCTEST is not set +# CONFIG_BOARDCTL_ADCTEST is not set +# CONFIG_BOARDCTL_PWMTEST is not set +# CONFIG_BOARDCTL_GRAPHICS is not set +# CONFIG_BOARDCTL_IOCTL is not set # # RTOS Features diff --git a/src/drivers/boards/s2740vc-v1/CMakeLists.txt b/src/drivers/boards/s2740vc-v1/CMakeLists.txt index efeaf11253..cc2762001a 100644 --- a/src/drivers/boards/s2740vc-v1/CMakeLists.txt +++ b/src/drivers/boards/s2740vc-v1/CMakeLists.txt @@ -46,6 +46,7 @@ include_directories(../../bootloaders/include) set(SRCS) list(APPEND SRCS + ../common/stm32/board_reset.c s2740vc_init.c s2740vc_can.c ../../../drivers/bootloaders/src/common/boot_app_shared.c