Provide our own newlib libc
Newlib 2.2.0 w/ nan ofeatures, xtensa patches, locking implementation. Built from https://github.com/projectgus/newlib-xtensa branch xtensa-2_2_0-lock commit daa6ae40cdc8099f54c3e68a586fc1b906169c5a For more details, see: https://github.com/SuperHouse/esp-open-rtos/wiki/libc-configuration Closes #1
This commit is contained in:
parent
a566a51c09
commit
689cf874b2
112 changed files with 23413 additions and 0 deletions
15
libc/xtensa-lx106-elf/include/envlock.h
Normal file
15
libc/xtensa-lx106-elf/include/envlock.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* envlock.h -- header file for env routines. */
|
||||
|
||||
#ifndef _INCLUDE_ENVLOCK_H_
|
||||
#define _INCLUDE_ENVLOCK_H_
|
||||
|
||||
#include <_ansi.h>
|
||||
#include <sys/reent.h>
|
||||
|
||||
#define ENV_LOCK __env_lock(reent_ptr)
|
||||
#define ENV_UNLOCK __env_unlock(reent_ptr)
|
||||
|
||||
void _EXFUN(__env_lock,(struct _reent *reent));
|
||||
void _EXFUN(__env_unlock,(struct _reent *reent));
|
||||
|
||||
#endif /* _INCLUDE_ENVLOCK_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue