Skip to content

Commit 781b74e

Browse files
committed
Modify platformio.ini to allow use of deprecated ArduinoJson libraries
This project fails to build with environments using the latest versions of ArduinoJson (anything post 5.13). This edit allows the existing codebase compile using ArduinoJson v5.x objects that have been deprecated in newer library releases.
1 parent e95f451 commit 781b74e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platformio.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ board_build.f_cpu = 160000000L
1515
framework = arduino
1616
;upload_flags = --port=8266 --auth=esp-react
1717
;upload_port = 192.168.0.6
18+
monitor_speed = 115200
19+
1820
build_flags=
1921
-D NO_GLOBAL_ARDUINOOTA
2022
; -D ENABLE_CORS
2123
lib_deps =
2224
https://github.com/PaulStoffregen/Time
2325
https://github.com/gmag11/NtpClient
24-
https://github.com/bblanchon/ArduinoJson
26+
ArduinoJson@>=5.0.0,<6.0.0
2527
https://github.com/me-no-dev/ESPAsyncWebServer
2628
https://github.com/me-no-dev/AsyncTCP

0 commit comments

Comments
 (0)