Allow using PROGMEM outside of Arduino (fixes #1903)

Ported from 40daf56b5a
This commit is contained in:
Benoit Blanchon
2023-04-07 18:19:33 +02:00
parent dd46813dc0
commit 461cdaa818
12 changed files with 22 additions and 19 deletions

View File

@ -2,10 +2,13 @@
// Copyright © 2014-2023, Benoit BLANCHON
// MIT License
#define ARDUINOJSON_ENABLE_ARDUINO_STRING 1
#include <Arduino.h>
#define ARDUINOJSON_STRING_BUFFER_SIZE 5
#include <ArduinoJson.h>
#include <catch.hpp>
#include "custom_string.hpp"
using namespace ArduinoJson::detail;