The ESP8266 allows you to map up to 1MB of the attached SPI flash into memory and run code from it, at somewhat of a performance penalty compared to running from RAM. Some of the older modules don&#x27;t have that much flash onboard though.