Update FREERTOS + LWIP support

This commit is contained in:
Alex Alashkin authored and Alex Alashkin committed 2021-08-12 13:54:43 +03:00
1 parent 104c4fab19
commit 453d4be4d0
6 files changed
+58 -20

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ static char *posix_realpath(const char *path, char *resolved_path) {
#ifdef _WIN32
return _fullpath(resolved_path, path, _MAX_PATH);
#elif MG_ARCH == MG_ARCH_ESP32 || MG_ARCH == MG_ARCH_ESP8266 || \
MG_ARCH == MG_ARCH_FREERTOS_TCP
MG_ARCH == MG_ARCH_FREERTOS_TCP || MG_ARCH == MG_ARCH_FREERTOS_LWIP
if (resolved_path == NULL) resolved_path = malloc(strlen(path) + 1);
strcpy(resolved_path, path);
return resolved_path;