s5j/timerisr: use RTC as an OS time tick
authorHeesub Shin <heesub.shin@samsung.com>
Mon, 3 Apr 2017 00:18:44 +0000 (09:18 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:05 +0000 (12:02 +0900)
commit7de7336cc1883645d5031be37e75bfc38a422a06
treead676562c8de2447891031114a229507c134edd6
parentc19cc87c6c9dcb54b614dbc81cbbed2f2825ef5c
s5j/timerisr: use RTC as an OS time tick

Using the MCT as an OS systick timer by reserving a local timer seems
overkill. For such purpose, S5J provides the RTC tick counter and using
using it seems more appropriate. This commit configures it as an OS time
tick instead of MCT local timer.

This is a preparation step for redesigning the MCT driver. It does not
introduce any functional differences except changing the tick source.

Change-Id: Ic0f9a20c7d10fee7451c2c0a5857af6c19b07fbf
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/artik053/include/board.h
os/arch/arm/src/s5j/s5j_timerisr.c
os/arch/arm/src/sidk_s5jt200/include/board.h