jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.84k stars 723 forks source link

More free RAM #309

Open kriegste opened 7 years ago

kriegste commented 7 years ago

Change the following lines to

const HttpdBuiltInUrl builtInUrls[] ICACHE_RODATA_ATTR = { in main.c and

static const HttpdBuiltInUrl *builtInUrls; and void ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls) { in httpd.c and

void ICACHE_FLASH_ATTR httpdInit(const HttpdBuiltInUrl *fixedUrls, int port); in httpd.h

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.

tve commented 7 years ago

thanks much!!

uzi18 commented 6 years ago

@tve we can close this issue?