Post topics, source code that relate to the Arduino Platform

User avatar
By picstart
#52838 When importing code to the esp82666 this dependency on <avr/pgmspace.h> will cause compiler issues.
Is there a preferred way to override this?
It can be dug out but it is unpleasantly buried in the supporting xxx.h files plus it creates another branch of the code ( esp arduino code versus plain avr arduino code).
Any update in the supporting library means it has to be dug out for the esp library.
User avatar
By picstart
#53144 [quote]Try removing the "avr/" subfolder and simply use "#include <pgmspace.h>[/quote]
This is the best solution so far and I've been doing this...just wondering if there was a high level switch in the compilation at the board level esp8266 to substitute for the avr/ dependency.