2015-06-16 00:02:36 +00:00
|
|
|
/*
|
|
|
|
* Wrappers for functions called by binary espressif libraries
|
|
|
|
*
|
|
|
|
* Part of esp-open-rtos
|
|
|
|
* Copyright (C) 2015 Superhouse Automation Pty Ltd
|
|
|
|
* BSD Licensed as described in the file LICENSE
|
|
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
2015-07-29 00:34:09 +00:00
|
|
|
#include <common_macros.h>
|
2015-06-16 00:02:36 +00:00
|
|
|
|
2015-07-29 00:34:09 +00:00
|
|
|
void IRAM *zalloc(size_t nbytes)
|
2015-06-16 00:02:36 +00:00
|
|
|
{
|
|
|
|
return calloc(1, nbytes);
|
|
|
|
}
|