hathach
|
6062aaa5d5
|
remove cdc flush in idle hook since it use mutex now
|
2018-11-08 12:30:32 +07:00 |
|
hathach
|
8045b1ec74
|
rtos clean up, remove yield at the end of loop()
|
2018-10-31 17:01:53 +07:00 |
|
hathach
|
057cba9a93
|
redirect Serial to USBSerial for nrf52840
|
2018-08-30 15:40:16 +07:00 |
|
hathach
|
a0176478ab
|
arduino core build OK with tinyusb
|
2018-08-23 21:07:53 +07:00 |
|
hathach
|
4640481d02
|
update Copyright year to 2018
|
2018-07-27 16:20:36 +07:00 |
|
hathach
|
b2e49f2fc9
|
Adacallback support fromISR call
- change Prioprity for loop() to LOW
- defer interrupt for both hw and sw encoder to ada callback
|
2017-09-15 17:56:24 +07:00 |
|
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 |
|