Commit Graph

20 Commits

Author SHA1 Message Date
Dong Heng
a9c34d2c77 fix(esp8266): fix backtrace does not trace ROM code 2019-12-02 10:19:52 +08:00
Dong Heng
0cdff9dbf1 fix(esp8266): fix that WDEV time is larger than normal 2019-11-25 17:05:14 +08:00
Dong Heng
0e39eb1038 fix(esp8266): fix CPU ticks per milli second at 160MHz
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/762
2019-11-22 11:17:54 +08:00
dongheng
4d4e1c0564 fix(esp8266): fix system and wifi sleep/wake process error 2019-09-25 14:13:47 +08:00
dongheng
767d995466 feat(esp8266): refactor ESP8266(xtensa lx106) panic backtrace function 2019-08-26 16:55:20 +08:00
dongheng
b061230056 feat(esp8266): refactor CCOMPARE timer and system time by microseconds
old: CCOMPARE timer triggers when CCOUNT increase to equal to CCOMPARE, then ISR will increase integer of "_xt_tick_divisor"
     to CCOMPARE and wait for next interrupt triggering

now: CCOMPARE timer triggers when CCOUNT increase to equal to CCOMPARE, then ISR will reset CCOUNT to be 0 and reset CCOMPARE
     to be integer of "_xt_tick_divisor", then wait for next interrupt triggering

Using the new method, we may get the CCOUNT value without considing if it has overflowed.
System running microseconds = g_os_ticks * microseconds per tick + CCOUNT.
2019-08-19 14:03:20 +08:00
dongheng
c665a71370 fix(esp8266): esp8266 flash mapping to CPU bus size only supports 1MB now
We may add support to run app which size is larger than 1MB later.
2019-08-12 15:45:26 +08:00
dongheng
301d857988 feat(esp8266): supports "make size" and its family function
1. support "make size", "make size-files", "make size-components" and "make size-symbols"
2. add esp-idf style link file including "esp8266.ld" and "esp8266.project.ld.in"
3. add link advaced generation file to components of esp8266 and spi_flash
2019-08-05 17:20:29 +08:00
dongheng
ea43a0c9a6 feat(system): Add global ISR swith 2019-04-28 10:40:50 +08:00
Dong Heng
ae61e4dce3 Revert "Merge branch 'feature/add_global_isr_switch' into 'master'"
This reverts merge request !914
2019-04-28 10:32:35 +08:00
dongheng
e7b8e9fa25 feat(system): Add global ISR swith 2019-04-24 14:40:02 +08:00
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
eef781f9b9 fix(esp8266): Fix esp8266 load RTC segment when reset from deep sleep
Now only 1MB flash is mapped to SoC bus.
2019-03-15 14:08:26 +08:00
Dong Heng
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +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
Xu Chun Guang
8fdffe47ad refactor(gpio): Refactor gpio driver for esp8266 idf 2018-08-09 10:57:00 +08:00
Dong Heng
df9a5d6bb1 feat(spi_flash): Modify SPI flash driver 2018-06-08 18:04:38 +08:00
Wu Jian Gang
e518650b36 feat: Don't use c_types.h in SDK 2018-05-24 20:41:29 +08:00
Wu Jian Gang
3c560f678a feat(driver): Clean up header files dependency 2018-05-23 16:43:29 +08:00
Wu Jian Gang
e3cdb2dae3 feat(structure): Re-structure some include 2018-04-08 20:42:35 +08:00