Allow using PROGMEM outside of Arduino (fixes #1903)

This commit is contained in:
Benoit Blanchon
2023-04-07 18:19:33 +02:00
parent 31ce648e63
commit 40daf56b5a
13 changed files with 23 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;