From ce1ae99f31b68009fc30a5c1e1fd8a8e172b7926 Mon Sep 17 00:00:00 2001 From: Junhwan Park Date: Wed, 17 May 2017 14:01:10 +0900 Subject: [PATCH] examples/sysio_test: add dependencies on driver subsystems Depending on the dependencies of the sysio driver, this example might cause a build error. This patch adds the dependencies of the driver. Change-Id: I7dfb0d284af1adbe4a82dd2ae47d4196cfe5185a Signed-off-by: Junhwan Park --- apps/examples/sysio_test/Kconfig | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/apps/examples/sysio_test/Kconfig b/apps/examples/sysio_test/Kconfig index f1d47ea..d22b8f7 100644 --- a/apps/examples/sysio_test/Kconfig +++ b/apps/examples/sysio_test/Kconfig @@ -5,22 +5,17 @@ config EXAMPLES_SYSIO_TEST bool "\"System I/O Test (GPIO,PWM,I2C,SPI,UART) \" example" + select GPIO + select SPI + select SPI_EXCHANGE + select SERIAL + select I2C + select I2C_USERIO + select PWM default n ---help--- Enable the \"System I/O Test\" example -if EXAMPLES_SYSIO_TEST - -config EXAMPLES_SYSIO_TEST_PROGNAME - string "Program name" - default "sysio" - depends on BUILD_KERNEL - ---help--- - This is the name of the program that will be use when the NSH ELF - program is installed. - -endif - config USER_ENTRYPOINT string default "sysio_main" if ENTRY_SYSIO_TEST -- 2.7.4