Description
Description
/home/t/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/pgmspace_generic.hpp: In instantiation of 'typename ArduinoJson6194_F1::enable_if<ArduinoJson6194_F1::is_pointer::value, T>::type ArduinoJson6194_F1::pgm_read(const void*) [with T = const arduino::__FlashStringHelper*; typename ArduinoJson6194_F1::enable_if<ArduinoJson6194_F1::is_pointer::value, T>::type = const arduino::__FlashStringHelper*]':
/home/t/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/DeserializationError.hpp:85:12: required from here
/home/t/Arduino/libraries/RF24/RF24_config.h:206:38: error: 'const void*' is not a pointer-to-object type
206 | #define pgm_read_ptr(p) (*(p))
| ~^~~~~
exit status 1
Troubleshooter's report
- The issue happens at compile time
- The error is not in the list
Environment
- Microcontroller: pico
- Core/Framework: ear philhower most recent
- IDE: 1.8.16
Reproduction code
just adding the library throws the error , no actual code to perform actions has been added
Remarks
nope would just like it to work.
edit
it has something to do with the order in which it is added to the project ...
if i add them like this it will not compile.
#include <FanController.h>
#include <WS2812FX.h>
#include "namedColors256.h"
#include "RF24.h"
#include "RF24Network.h"
#include "RF24Mesh.h"
#include <SPI.h>
#include <EEPROM.h>
#include <LittleFS.h>
#include <ArduinoJson.h>
if i add them like this it will compile.
#include <ArduinoJson.h>
#include <FanController.h>
#include <WS2812FX.h>
#include "namedColors256.h"
#include "RF24.h"
#include "RF24Network.h"
#include "RF24Mesh.h"
#include <SPI.h>
#include <EEPROM.h>
#include <LittleFS.h>