"avr/pgmspace.h: No Such File Or Directory" On ESP8266. Patch Inside.

Skip to content Dismiss alert {{ message }} / Sodaq_DS3231 Public
  • Notifications You must be signed in to change notification settings
  • Fork 32
  • Star 31
  • Code
  • Issues 5
  • Pull requests 4
  • Actions
  • Projects
  • Wiki
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options "avr/pgmspace.h: No such file or directory" on ESP8266. Patch inside. #5New issueNew issueOpenOpen"avr/pgmspace.h: No such file or directory" on ESP8266. Patch inside.#5@ikarisan

Description

@ikarisanikarisanopened on Apr 6, 2016

Hi!

I am using this library together with my NodeMCU and other ESP8266-12 modules. But the library/compiler throws the following error: "fatal error: avr/pgmspace.h: No such file or directory".

I found the following solution:

In Sodaq_DS3231.cpp you have to replace

#include <avr\pgmspace.h>

with

#if (defined(__AVR__)) #include <avr\pgmspace.h> #else #include <pgmspace.h> #endif

This works fine for me.

👍React with 👍61❤️React with ❤️15

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Tag » Arduino Avr/pgmspace.h No Such File Or Directory