SparkFun SSD168x Library
v1.0.2
Library for SSD1680 / SSD1681 e-paper displays on SPI
Loading...
Searching...
No Matches
qw_pgm_arduino.h
Go to the documentation of this file.
1
21
#pragma once
22
23
#if defined(ARDUINO)
24
25
#if defined(TARGET_Apollo3)
26
// do nothing
27
#elif defined(__AVR__) || defined(__arm__) || defined(__ARDUINO_ARC__)
28
#include <avr/pgmspace.h>
29
30
#else
31
#include <pgmspace.h>
32
#endif
33
34
#elif defined(ESP_PLATFORM)
35
36
// Native ESP-IDF: const data is placed in flash automatically and can be read directly
37
#include <stdint.h>
38
39
#ifndef PROGMEM
40
#define PROGMEM
41
#endif
42
43
#ifndef pgm_read_byte
44
#define pgm_read_byte(addr) (*(const uint8_t *)(addr))
45
#endif
46
47
#endif
48
src
res
qw_pgm_arduino.h
Generated by
1.9.5