Commit Graph
21 Commits
Author SHA1 Message Date
Henry Gabryjelski c57a1853c8 unused variable (Integration of @hathach changes) 2020-01-06 08:25:52 -08:00
Henry Gabryjelski 42ad38b9ce update Scheduler.startLoop() for prio and name 2020-01-06 08:25:51 -08:00
hathach e400dc895d fix newlib nano _sbrk() is not linked for checking heap 2019-09-23 11:33:32 +07:00
hathach 2a4185573b reduce task stack size
- ble      task from 512*3 -> 256*5
- loop     task from 512*3 -> 256*4
- callback task from 512*2 -> 256*3
- usbd     task from 150   -> 200
2019-09-19 16:42:36 +07:00
hathach 452db14e41 remove rtos_idle_callback(), sketch define vApplicationIdleHook() if needed 2019-06-06 11:19:53 +07:00
hathach f5aeb3820d move tud cdc write flush to yield(), add yield() to Stream timeRead(), timePeek() 2019-05-28 18:24:33 +07:00
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