AceTime  3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
Macros
compat.h File Reference

Macros and definitions that provide a consistency layer among the various Arduino boards for compatibility. More...

#include <stdint.h>
#include <string.h>
#include <WString.h>
#include <pgmspace.h>
Include dependency graph for compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ACE_TIME_USE_PROGMEM   1
 Determine if zonedb and zonedbx zoneinfo files are placed in PROGMEM.
 
#define ACE_TIME_PROGMEM   PROGMEM
 
#define FPSTR(p)   (reinterpret_cast<const __FlashStringHelper *>(p))
 

Detailed Description

Macros and definitions that provide a consistency layer among the various Arduino boards for compatibility.

Most of this is caused by inconsistent, incomplete, or sometimes incorrect emulation of the AVR PROGMEM macro and its related str*_P() functions in <avr/pgmspace.h>.

Definition in file compat.h.