Skip to content

ESP32 boards: #include <avr/pgmspace.h> results in fatal error: avr/pgmspace.h: No such file or directory -> candidates: [] #11736

@dmalenic

Description

@dmalenic
#include <avr/pgmspace.h>

compiles on all supported processors and architectures except ESP32. It is probably related to location of this file within the esp32 toolchain. The toolchain for all other processors and architectures (avr, arm, Intel and even esp8266) provide this file under path .../packages/.../avr/pgmspace.h, but esp32 toolchain provides it under path .../packages/esp32/hardware/esp32/1.0.6/cores/esp32/pgmspace.h which prevents compiling otherwise compatible sketches and libraries.

Metadata

Metadata

Assignees

Labels

Type: InvalidOff topic for this repository, or a bug report determined to not actually represent a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions