feat(newlib): add option for placing newlib lock API into flash

This commit is contained in:
Marius Vikhammer
2025-03-10 17:45:24 +08:00
parent 2fc73a05b3
commit 20bbd2af42
4 changed files with 39 additions and 26 deletions
-2
View File
@@ -174,8 +174,6 @@ WEAK_UNLESS_TIMEFUNC_IMPL int _gettimeofday_r(struct _reent *r, struct timeval *
tv->tv_sec = microseconds / 1000000;
tv->tv_usec = microseconds % 1000000;
}
__errno_r(r) = ENOSYS;
return 0;
#else
__errno_r(r) = ENOSYS;