Open kriegste opened 7 years ago
Change the following lines to
const HttpdBuiltInUrl builtInUrls[] ICACHE_RODATA_ATTR = { in main.c and
const HttpdBuiltInUrl builtInUrls[] ICACHE_RODATA_ATTR = {
static const HttpdBuiltInUrl *builtInUrls; and void ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls) { in httpd.c and
static const HttpdBuiltInUrl *builtInUrls;
void ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls) {
void ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls, int port); in httpd.h
void ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls, int port);
and you will have >500 Bytes more free RAM. I hope I haven't forgotten anything since I do not use esp-link directly in my project.
thanks much!!
@tve we can close this issue?
Change the following lines to
const HttpdBuiltInUrl builtInUrls[] ICACHE_RODATA_ATTR = {
in main.c andstatic const HttpdBuiltInUrl *builtInUrls;
andvoid ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls) {
in httpd.c andvoid ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls, int port);
in httpd.hand you will have >500 Bytes more free RAM. I hope I haven't forgotten anything since I do not use esp-link directly in my project.