mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-03 19:41:55 +02:00
lwip/esp32: support iperf
1. Add _exit() definition in syscalls.c 2. Fix a bug in sockets.c on which iperf depends
This commit is contained in:
@@ -142,6 +142,10 @@ int _open_r(struct _reent *r, const char * path, int flags, int mode) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void _exit(int __status) {
|
||||
abort();
|
||||
}
|
||||
|
||||
ssize_t _write_r(struct _reent *r, int fd, const void * data, size_t size) {
|
||||
const char *data_c = (const char *)data;
|
||||
if (fd == STDOUT_FILENO) {
|
||||
|
||||
Reference in New Issue
Block a user