dongheng
913188fdf3
feat(freertos): Simplify xtensa platform code
...
All normal ISRs are called by "_xt_isr_handler".
2019-04-16 19:49:06 +08:00
dongheng
68e990c99f
feat(freertos): Clean up unused or unsupported code for ESP8266
...
Make it easy for other OS platform to use these code.
If users want to add other OSes, they only should add 3 files:
1. "port.c": init task stack and switch task function
2. "osi.c": wrapper APIs to FreeRTOS from other OSes
3. "heap.c": wrapper APIs for other OSes' heap APIs
2019-03-27 11:45:57 +08:00
dongheng
7e25156286
feat(freertos): Reduce close NMI time
2019-03-22 11:36:12 +08:00
Dong Heng
93e3a3f542
Merge branch 'feature/add_esp_get_time_int64' into 'master'
...
Add API to get microseconds
See merge request sdk/ESP8266_RTOS_SDK!826
2019-03-12 14:25:05 +08:00
dongheng
7fbb68f4ea
feat(esp8266): Add API to get microseconds
2019-03-12 09:39:07 +08:00
Wu Jian Gang
b6ea4eab21
feat(freertos): Cleanup tick/idle hook functionality
...
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/500
2019-03-07 11:42:50 +08:00
dongheng
228853728f
feat(freertos): Add function to get CPU usage
2019-03-05 14:56:27 +08:00
Wu Jian Gang
08a2035f54
feat(freertos): Make trace facility configurable
...
This commit makes configUSE_TRACE_FACILITY and configUSE_STATS_FORMATTING_FUNCTIONS
configurable in kconfig.
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/495
2019-03-04 09:44:34 +08:00
Dong Heng
3a30f08a0b
Merge branch 'feature/reduce_stack_info_of_panic' into 'master'
...
Remove unnecessary stack panic information
See merge request sdk/ESP8266_RTOS_SDK!774
2019-02-18 20:25:56 +08:00
Dong Heng
a822e6bcc9
feat(freertos): Remove unnecessary stack panic information
...
Using "0x......" instead of origin "......" to represent hexadecimal data of stack and idf_monitor will
show its corresponding function if the address is located at a function of the project.
2019-02-14 15:38:35 +08:00
Dong Heng
4373adbc2a
feat(freertos): Add option to enable queue sets
2019-02-14 10:58:13 +08:00
Dong Heng
6fd342dd0f
feat(freertos): Add configuration to speed up task switch
...
The global heap is 74332 bytes when connect to AP and get IP by DHCP.
2018-11-29 09:47:33 +08:00
Dong Heng
c3e51b1a4e
feat(freertos): Add crash and jump to panic for "abort()"
...
Remove compiling warning.
2018-10-31 19:04:01 +08:00
Dong Heng
f730498b89
feat(freertos): Add "noreturn" to save IRAM
...
Put some functions to flash.
2018-10-25 17:08:32 +08:00
Wu Jian Gang
2a8c5b35e8
Merge branch 'bugfix/freertos_timer_stack_config' into 'master'
...
bugfix/freertos_timer_stack_config: Added config option for Timer stack.
See merge request sdk/ESP8266_RTOS_SDK!571
2018-10-23 21:55:08 +08:00
Dong Heng
8c48a58bef
feat(freertos): When watch dog triggle, not check it is ISR
2018-10-23 20:29:35 +08:00
Dong Heng
8e4f938ae6
fix(freertos): Fix ets_printf lead to panic reenter
2018-10-23 20:09:21 +08:00
Dong Heng
f5f0e93050
fix(freertos): Fix panic stack overflow
2018-10-23 15:27:32 +08:00
Supreet Deshpande
ec77c9711b
bugfix/freertos_timer_stack_config: Added config option for Timer stack.
...
Added configuration option for Timer Stack size in FreeRTOS.
2018-10-22 14:34:18 +05:30
Dong Heng
a6a342ae51
feat(freertos): Add function to panic NMI/ISR/task stack data and keep its stack safe
...
Fix part panic information error.
2018-10-19 14:38:03 +08:00
Dong Heng
89e902e168
feat(freertos): Add stdlib.h header file declare to base header file to make it match esp-idf
2018-10-18 15:26:13 +08:00
Dong Heng
056ef5f27e
Merge branch 'docs/modify_freertos_license_from_gpl_to_mit' into 'master'
...
Modify some FreeRTOS port files license from GPL to MIT
See merge request sdk/ESP8266_RTOS_SDK!536
2018-10-11 15:02:57 +08:00
Dong Heng
8c2f1c7616
docs(freertos): Modify some files license from GPL to MIT
...
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/321
2018-10-11 15:01:21 +08:00
Dong Heng
486da348bf
feat(freertos): API compatible with esp-idf
2018-10-11 13:54:35 +08:00
Dong Heng
1b63208046
fix(freertos): Fix entering first stack cover wrong memory
2018-09-28 11:40:14 +08:00
Dong Heng
54cd3f4b61
feat(sdk): Midify "__FILE__" to "__ESP_FILE__" for some components
2018-09-21 13:04:59 +08:00
Dong Heng
bc239c0ed3
feat(esp8266): Link some functions from IRAM to flash
2018-09-17 13:50:34 +08:00
Dong Heng
1fc474b8c9
feat(pthread): Modify for ESP8266
2018-09-13 15:34:54 +08:00
Dong Heng
580fa88ad0
feat(freertos): Add port to get freertos rate hz
2018-09-13 15:29:46 +08:00
Dong Heng
7e8650dd65
feat(esp8266): Refactor task watch dog
...
1. Remove old watch dog function
2. Put WIFI NVS index table from RAM to flash
2018-09-13 15:20:33 +08:00
Dong Heng
b919197c07
feat(freertos): Add configuration for interrupt stack size
2018-09-12 13:40:03 +08:00
Dong Heng
a4369522b9
feat(heap): Remove old heap and modify old heap API
2018-09-12 11:12:30 +08:00
Dong Heng
1c92913d9e
fix(freertos): Fix panic reenter
2018-09-05 19:05:53 +08:00
Dong Heng
1904c02b66
Merge branch 'bugfix/fix_timer_freq_error_when_switch_cpu_freq' into 'master'
...
Fix timer frequency error when switch CPU frequncy
See merge request sdk/ESP8266_RTOS_SDK!416
2018-08-22 17:52:56 +08:00
Dong Heng
8633994744
feat(FreeRTOS): Modify for ESP8266
2018-08-22 14:05:59 +08:00
Dong Heng
56e89a4372
feat(FreeRTOS): Bring os hook from esp-idf
...
Commit ID: 4eb28b9a
2018-08-22 11:00:20 +08:00
Dong Heng
0f2d83b24f
fix(freertos): Fix timer frequency error when switch CPU frequncy
2018-08-21 17:48:51 +08:00
Dong Heng
f5196d26a6
feat(esp8266): Modify header file relationship for app using BITx
2018-08-09 19:53:44 +08:00
Dong Heng
35ee995327
fix(components): Fix all components's compile warning and enable warning checking
2018-08-07 15:42:28 +08:00
Dong Heng
8f9e0da791
Merge branch 'feature/add_throughput_mode' into 'master'
...
Add full icache mode
See merge request sdk/ESP8266_RTOS_SDK!352
2018-08-01 15:15:29 +08:00
Wu Jian Gang
bbdb7737fb
Merge branch 'feature/add_freertos_hz_config' into 'master'
...
feat: configurate FreeRTOS HZ
See merge request sdk/ESP8266_RTOS_SDK!337
2018-08-01 09:58:33 +08:00
Dong Heng
b32c52874d
feat(esp8266): Add full icache mode
...
Use full 32 KB iram as icache.
2018-07-31 11:01:06 +08:00
Dong Heng
8e50ff353a
fix(newlib): Fix application disable intterupt then call newlib internal mutex function
2018-07-30 19:58:11 +08:00
chenwu
610e6a11ef
feat: configurate FreeRTOS HZ
2018-07-26 16:50:04 +08:00
Dong Heng
48a173e358
feat(freertos): Add memory mark to trace heap over call levels
2018-07-18 16:03:06 +08:00
Dong Heng
627452e85c
bugfix(freertos): CPU switch from kernel to user mode
2018-07-18 10:36:04 +08:00
Dong Heng
e2091c6af9
feat(FreeRTOS): Close ISR when panic
2018-07-17 20:40:20 +08:00
Dong Heng
d5b6457704
feat(freertos): Fix FreeRTOS stack overflow checking missing
2018-07-10 15:35:15 +08:00
Dong Heng
1ba1e5ccbd
feat(task): Change all tasks size 4 times the original
2018-07-09 20:11:41 +08:00
Dong Heng
0a0db61155
feat(freertos): Change task stack unit from "unsigned long" to "unsigned char"
2018-07-09 19:35:00 +08:00