mongoose/examples/wch/ch32v307-make-baremetal-builtin/mongoose_custom.h
2023-11-30 23:51:34 +00:00

16 lines
398 B
C

#pragma once
// See https://mongoose.ws/documentation/#build-options
#define MG_ARCH MG_ARCH_NEWLIB
#define MG_OTA MG_OTA_FLASH
#define MG_DEVICE MG_DEVICE_CH32V307
#define MG_ENABLE_TCPIP 1
#define MG_ENABLE_CUSTOM_MILLIS 1
#define MG_ENABLE_CUSTOM_RANDOM 1
#define MG_ENABLE_PACKED_FS 1
#define MG_ENABLE_FILE 0
#define MG_ENABLE_DRIVER_STM32 1
#define MG_ENABLE_LINES 1
#define MG_IO_SIZE 256