Enable additional services for stm32/cube

PUBLISHED_FROM=b22a136bc630b7cf4a62fd9d91b85e0e939a7f82
This commit is contained in:
Alexander Alashkin 2017-01-18 16:55:06 +02:00 committed by Cesanta Bot
parent 4d9f8168b8
commit 577ad2599c

View File

@ -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