49268a33e1
Compiles and runs, expects xtensa lock.c patch in newlib (will still run otherwise but malloc/free and other functions will be non-memory-safe...)
14 lines
324 B
C
14 lines
324 B
C
/*
|
|
* 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 "FreeRTOS.h"
|
|
|
|
void *zalloc(size_t nbytes) {
|
|
return calloc(1, nbytes);
|
|
}
|