Commit Graph
16 Commits
Author SHA1 Message Date
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