If lwip task sends too much packets, like throughput test, pm task will not be trigged.
WiFi tx buffers will not be freed normally, and throughput will be dropped down.
internal: dfd88572
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. update support for 8MB & 16MB flash size
2. update compile ENV to generate image in 8MB & 16MB flash size map
3. update function "user_rf_cal_sector" in example code
1. Fix the bug in mic failure handler;
2. Support eon flash, dio -> qio;
3. Support 8MB & 16MB spi flash;
4. Add beacon & probe response freq ie;
5. Workaround for boot v1.4;