Commit 10c274c7 authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

STM32 Ethernet support

AWS MQTT connection works

Also fixes https://github.com/mongoose-os-libs/ethernet/issues/1 (because why not).

PUBLISHED_FROM=7b0fa8894f2127335d075f2a97fcd37b932006b2
parent eb3b8129
...@@ -1639,6 +1639,9 @@ char *inet_ntoa(struct in_addr in); ...@@ -1639,6 +1639,9 @@ char *inet_ntoa(struct in_addr in);
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h>
#include <dirent.h>
#include <stm32_sdk_hal.h> #include <stm32_sdk_hal.h>
#define to64(x) strtoll(x, NULL, 10) #define to64(x) strtoll(x, NULL, 10)
...@@ -1655,8 +1658,6 @@ typedef struct stat cs_stat_t; ...@@ -1655,8 +1658,6 @@ typedef struct stat cs_stat_t;
#define MG_ENABLE_FILESYSTEM 1 #define MG_ENABLE_FILESYSTEM 1
#endif #endif
#define CS_DEFINE_DIRENT
#endif /* CS_PLATFORM == CS_P_STM32 */ #endif /* CS_PLATFORM == CS_P_STM32 */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_STM32_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_STM32_H_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment