mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
Allocate some memories in SPIRAM first.
Try to allocate some WiFi and LWIP memories in SPIRAM first. If
failed, try to allocate in internal RAM then.
This commit is contained in:
@@ -40,7 +40,7 @@ static void dbg_lwip_tcp_pcb_cnt_show(struct tcp_pcb *pcb)
|
||||
char *p;
|
||||
int i;
|
||||
|
||||
buf = malloc(512);
|
||||
buf = mem_malloc(512);
|
||||
if (!buf) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user