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>
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