diff --git a/project/inc/tcpsrv/tcp_srv_conn.h b/project/inc/tcpsrv/tcp_srv_conn.h index 96e4997..ad7b6ca 100644 --- a/project/inc/tcpsrv/tcp_srv_conn.h +++ b/project/inc/tcpsrv/tcp_srv_conn.h @@ -64,7 +64,7 @@ enum srvconn_state { #define TCP_SRV_CLOSE_WAIT 5 // 5 сек // минимальный размер heap по умолчанию, при открытии нового соединения, при = 0 заменяется на это: -#define TCP_SRV_MIN_HEAP_SIZE 14528 // самый минимум от 6Kb +#define TCP_SRV_MIN_HEAP_SIZE 32768 // самый минимум от 6Kb // максимальный размер выделяемого буфера в heap для приема порции #ifndef TCP_SRV_SERVER_MAX_RXBUF diff --git a/project/src/web/web_int_callbacks.c b/project/src/web/web_int_callbacks.c index 7eac473..afb7eed 100644 --- a/project/src/web/web_int_callbacks.c +++ b/project/src/web/web_int_callbacks.c @@ -636,5 +636,4 @@ void ICACHE_FLASH_ATTR web_int_callback(TCP_SERV_CONN *ts_conn, uint8 *cstr) else tcp_put('?'); } - #endif // USE_WEB diff --git a/project/src/web/web_int_vars.c b/project/src/web/web_int_vars.c index 0a775b1..9d5c8bc 100644 --- a/project/src/web/web_int_vars.c +++ b/project/src/web/web_int_vars.c @@ -66,6 +66,7 @@ extern int rom_atoi(const char *); #define atoi rom_atoi typedef uint32 (* call_func)(uint32 a, uint32 b, uint32 c); +extern QueueHandle_t xQueueWebSrv; /****************************************************************************** * FunctionName : parse_url diff --git a/sdkset.mk b/sdkset.mk index 0a9205f..0b0f279 100644 --- a/sdkset.mk +++ b/sdkset.mk @@ -74,7 +74,8 @@ INCLUDES += sdk/component/soc/realtek/8195a/fwlib/ram_lib/usb_otg/include #INCLUDES += sdk/component/common/media/codec #INCLUDES += sdk/component/common/drivers/usb_class/host/uvc/inc #INCLUDES += sdk/component/common/drivers/usb_class/device -#INCLUDES += sdk/component/common/drivers/usb_class/device/class sdk/component/common/file_system/fatfs +#INCLUDES += sdk/component/common/drivers/usb_class/device/class +#INCLUDES += sdk/component/common/file_system/fatfs INCLUDES += sdk/component/common/file_system/fatfs/r0.10c/include INCLUDES += sdk/component/common/drivers/sdio/realtek/sdio_host/inc INCLUDES += sdk/component/common/audio @@ -355,6 +356,7 @@ SRC_C += sdk/component/common/file_system/fatfs/r0.10c/src/diskio.c SRC_C += sdk/component/common/file_system/fatfs/r0.10c/src/ff.c SRC_C += sdk/component/common/file_system/fatfs/r0.10c/src/option/ccsbcs.c SRC_C += sdk/component/common/file_system/fatfs/disk_if/src/sdcard.c +INCLUDES += sdk/component/common/file_system/fatfs endif #utilities - xmodem update