Commit Graph
9 Commits
Author SHA1 Message Date
hathach ebee25d510 freeRTOS is configured as tickless
close #40
2017-09-01 19:02:19 +07:00
hathach 730ee7e1d6 change rtos_idle_hook behavior
- if rtos_idle_callback is not defined, go to low-power when Idle.
Otherwise user have to call waitForEvent() manually.
2017-04-13 18:16:00 +07:00
hathach e5d98a877f call waitForEvent() in core idle hook 2017-04-10 16:39:14 +07:00
hathach f093e03c5d clean up 2017-04-10 15:23:39 +07:00
hathach a454cb9f21 add optional callback rtos_idle_callback() 2017-04-09 21:51:00 +07:00
hathach a335699296 only enter low power mode waitForEvent() in idle if there is no active PWM 2017-04-09 14:42:26 +07:00
hathach 291a28b507 add waitForEvent() as macro for __WFE(). Enable Idle Hook and call wfe instruction 2017-04-08 16:59:56 +07:00
hathach 812fbad07d implement Scheduler 2017-03-16 00:01:33 +07:00
hathach a816e70e8f rename rtos.c to rtos.cpp preparing to implement scheduler 2017-03-15 22:39:21 +07:00