B4R Question ESP8266 PROGMEM error

Mostez

Well-Known Member
Licensed User
Longtime User
Hello,
I tried to upload this code example to ESP8266, but I got that error message below, is it about a missing file or is there another method for ESP to include arrays into progmem.

Thanks

B4R Version: 2.60
Parsing code. (0.00s)
Building folders structure. (0.00s)
Compiling code. (0.00s)
Building project (0.00s)
Compiling & deploying Ino project (Generic ESP8266 Module - COM10) Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
b4r_main.cpp:20:27: error: avr/pgmspace.h: No such file or directory
#include <avr/pgmspace.h>
^
compilation terminated.
exit status 1
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
Thanks so much, worked OK. Sorry if it's a stupid question, data array stored in program memory or RAM?
 
Upvote 0
Top