From cf9eecc82221b86d2b4ff025b7d147c09d1a5462 Mon Sep 17 00:00:00 2001 From: Lorow Date: Thu, 9 Oct 2025 22:59:47 +0200 Subject: [PATCH] Configure nlohmann-json to suit espidf environment --- main/openiris_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/openiris_main.cpp b/main/openiris_main.cpp index aa3b029..ea07b9c 100644 --- a/main/openiris_main.cpp +++ b/main/openiris_main.cpp @@ -28,6 +28,10 @@ #include #endif +// defines to configure nlohmann-json for esp32 +#define JSON_NO_IO 1 +#define JSON_NOEXCEPTION 1 + #ifdef CONFIG_LED_DEBUG_ENABLE #define BLINK_GPIO (gpio_num_t) CONFIG_LED_DEBUG_GPIO #else