Commit Graph
33 Commits
Author SHA1 Message Date
hathach ee6aa455ba clean up 2018-11-09 12:48:43 +07:00
hathach 8045b1ec74 rtos clean up, remove yield at the end of loop() 2018-10-31 17:01:53 +07:00
hathach f4dc92519b fix a cache read issue 2018-10-24 17:10:36 +07:00
hathach f90504964e clean up and remove unused files from sdk 2018-09-01 23:00:29 +07:00
hathach 18e2fb9d58 re-add rtos_realloc() since it is used by nffs 2018-08-23 22:06:46 +07:00
hathach 44996ab09b use __WFE() instead of sd_app_evt_wait when sleep with freeRTOS 2018-08-23 21:54:32 +07:00
hathach 6171cbf046 update freeRTOS port 2018-08-23 21:51:04 +07:00
hathach a0176478ab arduino core build OK with tinyusb 2018-08-23 21:07:53 +07:00
hathach 65a803bfb5 clean up freertos config, add static API support (required by tusb) 2018-08-23 20:40:42 +07:00
hathach 4c7841d55f add freeRTOS v10.0.1 2018-08-23 20:33:33 +07:00
hathach 24ab14d101 remove freeRTOS v8 2018-08-23 20:31:32 +07:00
hathach f2e1aa7fe4 SRAM enhancement 2017-10-09 15:19:47 +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 2b74e93fbf clean up 2017-09-01 17:06:08 +07:00
hathach 07a02fb5ec update freeRTOS port to the one in sdk14 2017-09-01 16:45:25 +07:00
hathach 55a922b3c1 close #30 add sysview realtrace support 2017-07-06 12:39:26 +07:00
hathach 117d251d4b fix RTC1 compare interrupt is not clear by bootloader 2017-04-12 12:43:33 +07:00
hathach b37b8bcb77 upgrade port_cmsis_systick.c to matches one in sdk13 for tick fix 2017-04-12 11:24:30 +07:00
hathach 3f83bb06ac move waitForEvent() to wiring, increase configMINIMAL_STACK_SIZE from 60 to 100 2017-04-10 23:52:59 +07:00
hathach d2fc54fab9 Change FreeRTOS tick source from systick to RTC for low-power mode 2017-04-10 15:23:13 +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 f62daa12fd newline correction 2017-04-08 16:31:25 +07:00
hathach dbb8f197ac add rtos_realloc 2017-03-03 00:55:00 +07:00
hathach ecedd3d0e2 refactor linker & startup for dynamic checking stack & heap usage.
- add syscall __sbrk() for malloc function
- add dbgMemInfo() is visual format
- FreeRTOS enable : configCHECK_FOR_STACK_OVERFLOW,
configUSE_MALLOC_FAILED_HOOK, configUSE_TRACE_FACILITY,
configUSE_STATS_FORMATTING_FUNCTIONS
2017-02-17 23:07:30 +07:00
hathach f417662b83 fix OTA with freeRTOS 2017-01-10 21:40:27 +07:00
hathach 26a58c25f9 use RTOS get tick() API for millis() and micros() function. 2017-01-10 16:13:38 +07:00
hathach 525fee8aef increase rtos tick to 10000 (10x) 2017-01-09 22:12:37 +07:00
hathach c4f98edb17 clean up 2017-01-09 16:16:44 +07:00
hathach b278db8755 use counting semaphore for tx buf management 2017-01-06 23:47:29 +07:00
hathach d7bff70718 finish rtos blinky 2017-01-06 18:51:37 +07:00
hathach 11ee5666bd FreeRTOS config
- use systick instead of RTC for tick timer
- use std malloc/free from nanolib
- increase HEAP size to 24KB (TODO should be all memory that left)
2017-01-06 17:57:35 +07:00
hathach 1ca749ba04 add freeRTOS files 2017-01-06 13:32:21 +07:00