2022-09-02 19:58:35 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Arduino.h"
|
|
|
|
|
|
|
|
#include <errno.h>
|
|
|
|
#include <stdarg.h>
|
2022-11-11 16:50:57 +08:00
|
|
|
#include <stdio.h>
|
2022-09-02 19:58:35 +08:00
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
#define MG_ARCH MG_ARCH_CUSTOM
|
|
|
|
#define MG_ENABLE_SOCKET 0
|
2023-02-08 05:16:42 +08:00
|
|
|
#define MG_ENABLE_TCPIP 1
|
2024-03-13 01:03:29 +08:00
|
|
|
#define MG_ENABLE_DRIVER_W5500 1
|
2024-06-22 04:12:07 +08:00
|
|
|
#define MG_ENABLE_TCPIP_DRIVER_INIT 0
|
2022-11-11 16:50:57 +08:00
|
|
|
#define mkdir(a, b) (-1)
|
2024-11-27 04:53:21 +08:00
|
|
|
#define MG_ENABLE_TCPIP_PRINT_DEBUG_STATS 0
|
|
|
|
#define MG_ENABLE_CUSTOM_MILLIS 1
|
2023-07-20 21:36:10 +08:00
|
|
|
#define MG_IO_SIZE 128
|
2024-11-27 04:53:21 +08:00
|
|
|
|
|
|
|
// Enable TLS
|
|
|
|
// #define MG_TLS MG_TLS_BUILTIN
|
|
|
|
// #define MG_ENABLE_CUSTOM_RANDOM 1
|