Merge pull request #3398 from cesanta/zeph

Disable dirent in zephyr
This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2026-01-08 09:22:36 -03:00
commit 7ffc51d38e
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -176,7 +176,8 @@ extern "C" {
#define MG_TLS MG_TLS_BUILTIN #define MG_TLS MG_TLS_BUILTIN
#endif #endif
#if !defined(MG_OTA) && defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7) #if !defined(MG_OTA) && defined(STM32F1) || defined(STM32F2) || \
defined(STM32F4) || defined(STM32F7)
#define MG_OTA MG_OTA_STM32F #define MG_OTA MG_OTA_STM32F
#elif !defined(MG_OTA) && defined(STM32H5) #elif !defined(MG_OTA) && defined(STM32H5)
#define MG_OTA MG_OTA_STM32H5 #define MG_OTA MG_OTA_STM32H5
@@ -729,7 +730,7 @@ typedef int socklen_t;
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/net/socket.h> #include <zephyr/net/socket.h>
#include <zephyr/posix/dirent.h> // #include <zephyr/posix/dirent.h>
#include <zephyr/posix/fcntl.h> #include <zephyr/posix/fcntl.h>
#include <zephyr/posix/sys/select.h> #include <zephyr/posix/sys/select.h>
#include <zephyr/random/random.h> #include <zephyr/random/random.h>
+1 -1
View File
@@ -4,7 +4,7 @@
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/net/socket.h> #include <zephyr/net/socket.h>
#include <zephyr/posix/dirent.h> // #include <zephyr/posix/dirent.h>
#include <zephyr/posix/fcntl.h> #include <zephyr/posix/fcntl.h>
#include <zephyr/posix/sys/select.h> #include <zephyr/posix/sys/select.h>
#include <zephyr/random/random.h> #include <zephyr/random/random.h>