.pio/libdeps/nodemcuv2/ArduinoJson/src/ArduinoJson/MsgPack/MsgPackSerializer.hpp:28:7: error: attributes are not allowed on a function-definition
28 | ARDUINOJSON_NO_SANITIZE("float-cast-overflow") {
| ^~~~~~~~~~~~~~~~~~~~~~~
This is due to a bug in ArduinoJson 6.10.0, which was fixed 2 years (!) ago, in 6.10.1
I updated platformio.ini to use the most recent 6.18.0 version which resolves this. I will submit a PR for this later.
When compiling the code, I'm getting:
This is due to a bug in ArduinoJson 6.10.0, which was fixed 2 years (!) ago, in 6.10.1 I updated platformio.ini to use the most recent 6.18.0 version which resolves this. I will submit a PR for this later.