Postby pratik » Wed Sep 21, 2016 11:04 am
A good post!
However, a note to all users doing that - be extremely careful with alignment issues on old compiler versions! If you store a const array of 16-bit (short) type, and directly read it from flash - you will get a fatal exception for misaligned access.
For stuff stored in flash, you must access it with word alignment and in blocks of 4 bytes for reliable program.
Who is online
Users browsing this forum: No registered users and 3 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!