1. only lock nmi in soft isr;
2. simplify PendSV;
3. more log info when wdt happen;
4. Fix nmi reentried issue;
5. Add some protection code;
internal: 5c208f68
select() should not judge socket fd just SHUTDOWN state when other socket closed actively
those socket will be in unreadable or unwriteable
abnormal step before:[ESP8266 as the tcp server]
1. ESP8266 set up a listen port (system default: socket = 0)
2. Client 1 connect to ESP8266 OK (system default: socket = 1)
3. Client 1 send data OK
4. Client 2 connect to ESP8266 OK (system default: socket = 2)
5. Client 1 and Client 2 send data OK
6. Disconnect Client 2 actively, Client 1 send data OK
7. Client 2 reconnect to ESP8266 OK (system default: socket = 2)
8. Client 1 and Client 2 send data OK
9. Disconnect Client 1 actively, select() API will return -1
if Client 2 send data at this time, tcp server will not work
internal: 7c50f410
1. Change cache size from 32KB to 16KB, reverse this 16KB region as heap;
2. New heap to support seperate heap region;
3. Modify pvPortMalloc, support to choose malloc in iram;
4. Add new macro os_malloc_iram to malloc in iram;
5. Default malloc will malloc in iram firstly;
Limitation:
1. Don't malloc task stack in iram;
2. Dont't use iram buffer as wifi tx buffer;
If possible, use all of iram heap region firstly.
internal : 2d3fbebb
1. Rebind the UDP pcb, which originally bind to non-zero IPv4 address, to
the new IPv4 address when the IPv4 address of related netif is changed.
2. Rebind the TCP pcb, which is in listening status, to the new IPv4 address
when IPv4 address of related netif is changed.
Notice: Recompile some related libs due to netif.h changed.
internal: f194dd34
1. add spi flash erase protect mechanism, boot and current runing user
bin can not been erased;
2. add memleak debug feature;
3. fix spi overlap issue;
4. fix call wifi_station_disconnect, disconnect event enter twice
issue;
5. fix crash when set opmode from station to softAP in scan done
callback;
6. modify spi flash erase/write flow, clear protect status if needed;
7. fix rf init data sector broken issue, add user_rf_cal_sector_set,
user application MUST have this function, refer to examples;
8. fix system parameter sector broken issue when frequently power
on/off;
9. fix the max value of os_timer_arm;
10. fix dns issue in some routers;
11. add sntp support;
12. update smartconfig to 2.5.4;
13. update open freedom to support send beacon packet;
14. fix seldom rf not work issue after external reset;
15. fix pwm issue;
16. fix status error got by wifi_station_get_connect_status;
17. fix assert in pp;
18. fix huawei X4 connect softAP issue;
19. optimize sleep strategy;
20. add vendor IE support;
21. update libphy.a to 1055;
22. add weak function wifi_set_backup_mac to let user set MAC;
23. fix bug of lwip and optimize socket mechanism;
24. update boot loader to v1.6;
25. update esp_init_data_default.bin
26. add mbedtls support;
27. fix other bugs;
1. Add libssc.a, simple serial console lib.
2. Add libspiffs.a, SPI file system.
3. Add libwps.a to support WPS.
4. Add libespconn.a, Espressif connection lib.
5. Add libespnow.a to support Espressif ESP-NOW.
6. Add libmesh.a, Espressif mesh.
7. Add libnopoll.a, websocket.
8. Add make_lib.sh in "third_party" folder.
9. Add modem-sleep & light-sleep supported.
10. Update libcirom.a to support float IO.
11. Update gen_misc.sh & gen_misc.bat.
12. Update header files, add comments in doxygen style.
13. Update libsmartconfig.a to version 2.5.2.
14. Update libssl.a.
15. Updates driver (PWM/UART/GPIO/SPI/Hardware timer).
16. Update open source codes of third_party.
17. Modify "ld" files, "dram0 len" should be 0x18000 in RTOS SDK.
18. Remove header files in extra_include, which are already in compile folder.
19. Other APIs sync from non-OS SDK, more details in documentation "20B-ESP8266__RTOS_SDK_API Reference".
20. Other optimization to make the SDK more stable.
1. Add pwm support;
2. Add c++ support; Please update to the latest folder "ld".
3. Add rand in libminic;
4. Add new reset reason REASON_EXT_SYS_RST in rst_reason;
5. Update the complied script ‘gen_misc.sh(bat)’, use the new boot and remove the old one;
6. Update folder "tools", and support CRC check of bin files; Please update to the latest folder "tools".
7. Optimize the process procedure of Wi-Fi event;
8. Fix bugs in printf when its runs out of memory;
9. Fix bugs in malloc when CACHE is disabled;
10.Fix exception and WDT reset bugs when CACHE is disabled;
11.Fix some Wi-Fi connection bugs;
12.Fix some Wi-Fi scan bugs;
13.Tune API "wifi_station_get_connect_status" for more accurate WiFi positioning;
14.Porting the optimization of non-OS SDK to RTOS SDK;
15.Fix other minor bugs.
1. memory optimize;
2. add irom version libm.a: libmirom.a;
3. more apis are supported in libcirom.a, such as sscanf, sprintf, etc;
4. add c++ support in Makefile;
5. put functions to iRAM default, don't need ICACHE_FLASH_ATTR anymore;
6. remove -O2 in Makefile;
7. fix some fatal exception bugs;
8. update smartconfig to version 2.4.7;
9. update some open source files and header files;
10.use os_printf can save memory;
11.add new apis: os_random and os_get_random;
12.bug fix in lwip/net80211/wpa modules;
13.other minor changes;