-->
Page 1 of 2

Maximum sketch size and dynamic memory

PostPosted: Sat Mar 28, 2015 4:02 pm
by KRavEN
What is the maximum sketch size and dynamic memory under ESP8266 Arduino?

Re: Maximum sketch size and dynamic memory

PostPosted: Sun Mar 29, 2015 6:02 pm
by igrr
An empty sketch leaves you with about 200k flash and 32k RAM.

Re: Maximum sketch size and dynamic memory

PostPosted: Mon Mar 30, 2015 2:25 am
by andrew melvin
Can you print out the heap size like you can in node? ?

Re: Maximum sketch size and dynamic memory

PostPosted: Mon Mar 30, 2015 3:36 am
by igrr
Code: Select allextern "C" {
#include "user_interface.h"
}
/// later
Serial.println(system_get_free_heap_size());


Should add APIs for all that stuff, similar to nodemcu.