examples/sysio_test: add dependencies on driver subsystems
authorJunhwan Park <junhwan.park@samsung.com>
Wed, 17 May 2017 05:01:10 +0000 (14:01 +0900)
committersunghan <sh924.chang@samsung.com>
Tue, 19 Sep 2017 10:30:34 +0000 (19:30 +0900)
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 <junhwan.park@samsung.com>
apps/examples/sysio_test/Kconfig

index f1d47ea..d22b8f7 100644 (file)
@@ -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