Replies: 3 comments 3 replies
-
I'm seeing similar, I wonder if something in Python3 has changed to be a bit less kind. I get an error of |
Beta Was this translation helpful? Give feedback.
1 reply
-
@rmadjar I've cracked it. It's ArduinoJson version 7 that kills it. Change line 18 of platfromio.ini to read |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thank you for the fix, going to merge |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to build the iSpindel on a smaller custom PCB with a barebone ESP8266. I cant just upload the .bin file from GitHub because I need to change the SDA and SCL pin numbers to match my wiring. (SDA -> GPIO4, SCL -> GPIO5)
My problem is when trying to compile the code it fails with the following errors:
.
.
.
In file included from pio\lib\Sender\Sender.cpp:8: pio\lib\Sender\Sender.h:56:3: warning: 'template<unsigned int N> class ArduinoJson::V704PB2::StaticJsonDocument' is deprecated: use JsonDocument instead [-Wdeprecated-declarations] 56 | StaticJsonDocument<512> _doc;
.
.
.
pio\lib\Sender\Sender.cpp:275:92: error: passing 'const ArduinoJson::V704PB2::JsonPair' as 'this' argument discards qualifiers [-fpermissive]
Can someone please help me to deal with it? I have no experience with platformIO and libraries...I have done a few simple projects with esp boards and Arduino IDE but this is over my head.
I appreciate your help..
Full terminal output:
Beta Was this translation helpful? Give feedback.
All reactions