mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
STM32 Ethernet support
AWS MQTT connection works Also fixes https://github.com/mongoose-os-libs/ethernet/issues/1 (because why not). PUBLISHED_FROM=7b0fa8894f2127335d075f2a97fcd37b932006b2
This commit is contained in:
parent
eb3b81297d
commit
10c274c774
@ -1639,6 +1639,9 @@ char *inet_ntoa(struct in_addr in);
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include <stm32_sdk_hal.h>
|
||||
|
||||
#define to64(x) strtoll(x, NULL, 10)
|
||||
@ -1655,8 +1658,6 @@ typedef struct stat cs_stat_t;
|
||||
#define MG_ENABLE_FILESYSTEM 1
|
||||
#endif
|
||||
|
||||
#define CS_DEFINE_DIRENT
|
||||
|
||||
#endif /* CS_PLATFORM == CS_P_STM32 */
|
||||
#endif /* CS_COMMON_PLATFORMS_PLATFORM_STM32_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
|
Loading…
Reference in New Issue
Block a user