Commit 577ad259 authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Enable additional services for stm32/cube

PUBLISHED_FROM=b22a136bc630b7cf4a62fd9d91b85e0e939a7f82
parent 4d9f8168
......@@ -1534,21 +1534,29 @@ char* inet_ntoa(struct in_addr in);
#if CS_PLATFORM == CS_P_STM32
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#include <inttypes.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <memory.h>
#include <fcntl.h>
#define to64(x) strtoll(x, NULL, 10)
#define INT64_FMT PRId64
#define SIZE_T_FMT "u"
typedef struct stat cs_stat_t;
#define DIRSEP '/'
#ifndef CS_ENABLE_STDIO
#define CS_ENABLE_STDIO 1
#endif
#ifndef MG_ENABLE_FILESYSTEM
#define MG_ENABLE_FILESYSTEM 1
#endif
#endif /* CS_PLATFORM == CS_P_STM32 */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_STM32_H_ */
#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