api: add feature invalid check. 79/152879/1 submit/tizen_4.0/20170927.094733
authorSegwon <segwon.han@samsung.com>
Wed, 27 Sep 2017 09:31:42 +0000 (18:31 +0900)
committerSegwon Han <segwon.han@samsung.com>
Wed, 27 Sep 2017 09:37:30 +0000 (09:37 +0000)
commit17aacb99519aca7f70cc09995da9ab39d60d065d
treea64afca176b0c0f9143a049d4830c88942cb988f
parentae7e52327cf02a3d6321127b3f6a8aee96b8a081
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