mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fix malloc/free references
This commit is contained in:
1
hardware/tools/esp8266/sdk/include/ets_sys.h
Executable file → Normal file
1
hardware/tools/esp8266/sdk/include/ets_sys.h
Executable file → Normal file
@ -83,6 +83,7 @@ typedef struct _ETSTIMER_ {
|
||||
|
||||
void ets_isr_attach(int routine, void* something, void *buff);
|
||||
void *pvPortMalloc(size_t xWantedSize);
|
||||
void *pvPortRealloc(void* ptr, size_t xWantedSize);
|
||||
void pvPortFree(void *ptr);
|
||||
void *vPortMalloc(size_t xWantedSize);
|
||||
void vPortFree(void *ptr);
|
||||
|
1
hardware/tools/esp8266/sdk/include/mem.h
Executable file → Normal file
1
hardware/tools/esp8266/sdk/include/mem.h
Executable file → Normal file
@ -8,5 +8,6 @@
|
||||
#define os_malloc pvPortMalloc
|
||||
#define os_free vPortFree
|
||||
#define os_zalloc pvPortZalloc
|
||||
#define os_realloc pvPortRealloc
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user