"avr/pgmspace.h: No Such File Or Directory" On ESP8266. Patch Inside.
Maybe your like
Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} SodaqMoja / Sodaq_DS3231 Public 
ikarisanopened on Apr 6, 2016
- Notifications You must be signed in to change notification settings
- Fork 32
- Star 31
- Code
- Issues 5
- Pull requests 4
- Actions
- Projects 0
- Wiki
- Security
Uh oh!
There was an error while loading. Please reload this page.
- Insights
Description
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> #endifThis works fine for me.
👍React with 👍61❤️React with ❤️15Metadata
Metadata
Assignees
No one assignedLabels
No labelsNo labelsProjects
No projectsMilestone
No milestoneRelationships
None yetDevelopment
No branches or pull requestsIssue actions
You can’t perform that action at this time.Tag » Arduino Avr/pgmspace.h No Such File Or Directory
-
Avr/pgmspace.h No Such File Or Directory" Error For ESP8266
-
ESP32 Doesn't Compile · Issue #241 - GitHub
-
Esp32 - I2C_graphical_LCD_display, Fatal Error: Avr/pgmspace.h
-
Avr/pgmspace.h: No Such File Or Directory - YouTube
-
Fatal Error: Pgmspace.h: No Such File Or Directory | M5Stack Community
-
Pgmspace.h: No Such File Or Directory - The Things Network
-
Fatal Error: Avr/pgmspace.h: No Such File Or Directory - SourceForge
-
This Arduino Library Doesn't Work On ESP. How Do I Make It Working?
-
In Included File 'avr/pgmspace.h' File Not Found - PlatformIO Community
-
Fatal Error: Avr\pgmspace.h: No Such File Or Directory - Visual Micro
-
MicroOLED No Longer Works. - SparkFun Forums
-
I2C_graphical_LCD_display, Fatal Error: Avr/pgmspace.h - SolveForum
-
Esp8266/Arduino - Gitter
-
ขึ้น Fatal Error : Avr/pgmspace.h : No Such File Or Directory แก้ยังไงครับ