mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
lwip2: use pvPortXalloc/vPortFree and "-free -fipa-pta" (#7793)
lwip2: use pvPortXalloc/vPortFree instead of malloc/free and add gcc's '-free -fipa-pta' options
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Submodule tools/sdk/lwip2/builder updated: 7d498d9d39...7421258237
@ -1,5 +1,5 @@
|
||||
// generated by makefiles/make-lwip2-hash
|
||||
#ifndef LWIP_HASH_H
|
||||
#define LWIP_HASH_H
|
||||
#define LWIP_HASH_STR "STABLE-2_1_2_RELEASE/glue:1.2-46-g7d498d9"
|
||||
#define LWIP_HASH_STR "STABLE-2_1_2_RELEASE/glue:1.2-48-g7421258"
|
||||
#endif // LWIP_HASH_H
|
||||
|
@ -3676,6 +3676,16 @@ void tcp_kill_timewait (void);
|
||||
#define MEMP_NUM_TCP_PCB_TIME_WAIT 5
|
||||
#endif
|
||||
|
||||
/*
|
||||
--------------------------------------------------
|
||||
----------------- Alloc functions ----------------
|
||||
--------------------------------------------------
|
||||
*/
|
||||
|
||||
#define mem_clib_free(p) vPortFree(p, NULL, -1)
|
||||
#define mem_clib_malloc(s) pvPortMalloc(s, NULL, -1)
|
||||
#define mem_clib_calloc(n,s) pvPortZalloc(n*s, NULL, -1)
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user