api: add feature invalid check. 77/152877/1 submit/tizen/20170927.094753
authorSegwon <segwon.han@samsung.com>
Wed, 27 Sep 2017 09:31:42 +0000 (18:31 +0900)
committerSegwon <segwon.han@samsung.com>
Wed, 27 Sep 2017 09:34:02 +0000 (18:34 +0900)
commit8872887249edaecc3fecab972941512e4cb9db4b
treea64afca176b0c0f9143a049d4830c88942cb988f
parent9aad6d71ed47fbab256dfceb490f6b913fb43d64
api: add feature invalid check.

   - add dependency the system info package.
   - almost api return the PERIPHERAL_ERROR_NOT_SUPPORTED

Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I1c3cc4a8575cf18eec0d0338cca862555b02070c
CMakeLists.txt
packaging/capi-system-peripheral-io.spec
src/peripheral_gpio.c
src/peripheral_i2c.c
src/peripheral_pwm.c
src/peripheral_spi.c
src/peripheral_uart.c