Manage board resource with .ini file 05/136705/3
authorjino.cho <jino.cho@samsung.com>
Mon, 26 Jun 2017 05:43:32 +0000 (14:43 +0900)
committerjino.cho <jino.cho@samsung.com>
Mon, 10 Jul 2017 06:27:07 +0000 (15:27 +0900)
commitca806bc1a95f650614674fd63f64f079d2860e64
tree9cd7b476d4ff9eec67cbf22ec1ef6dd756aa6575
parent25f08b21fe986e9e5797fde449c8e27bb26656a4
Manage board resource with .ini file

This patch is to protect H/W board and system stability from
invalid access. Peripheral IO is not available for all peripheral
devices that the board provides, but only peripheral devices
specified in the INI file can be used.

Change-Id: I2243406b79b200a1165a9a1d84deecc3eec15d88
Signed-off-by: jino.cho <jino.cho@samsung.com>
14 files changed:
CMakeLists.txt
data/pio_board_artik710.ini [new file with mode: 0644]
data/pio_board_rp3_b_12.ini [new file with mode: 0644]
data/pio_board_unkown.ini [new file with mode: 0644]
packaging/peripheral-bus.spec
src/daemon/peripheral_bus.c
src/daemon/peripheral_bus.h
src/daemon/peripheral_bus_board.c [new file with mode: 0644]
src/daemon/peripheral_bus_board.h [new file with mode: 0644]
src/daemon/peripheral_bus_gpio.c
src/daemon/peripheral_bus_i2c.c
src/daemon/peripheral_bus_pwm.c
src/daemon/peripheral_bus_spi.c
src/daemon/peripheral_bus_uart.c