diff --git a/flash.hpp b/flash.hpp index 9cfd8e1..9721229 100644 --- a/flash.hpp +++ b/flash.hpp @@ -3,6 +3,9 @@ #include #define F(str) (reinterpret_cast(PSTR(str))) +#define GF(name, str) \ + const char __##name[] PROGMEM = str; \ + const auto *name = reinterpret_cast(__##name) namespace detail {