-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inspect Code fails on certain board types with "Bad JSON" #3790
Comments
Chiming in to say I'm having the same problem on an ESP 01 with the ini & versions below.
About info:
|
Same problem. Wemos D1 mini PRO. Platform.ini
About:
|
Ivan, can I assist in troubleshooting the problem? Happy to assist if I can. |
This was referenced Mar 17, 2021
This was referenced Mar 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inspect memory works, inspect code fails with “Bad JSON”. Certain board types work ok e.g. Arduino Uno (memory and code), while others fail the Code analysis e.g. Adafruit Feather M0 or SeeedStudios Wio Terminal. The problem can be reproduced with the simple blink example used on the platformio website and the following platformio.ini:
[env:uno]
platform = atmelavr
board = uno
framework = arduino
[env:zero]
platform = atmelsam
board = zero
framework = arduino
[env:seeed_wio_terminal]
platform = atmelsam
board = seeed_wio_terminal
framework = arduino
platform_packages = framework-arduino-samd-seeed@https://github.com/Seeed-Studio/ArduinoCore-samd.git
All boards will compile ok. Tested against VSCODE 1.51.1 / PIO 5.0.3 on Windows 10 20H2 and Ubuntu 20.04 with the same result.
The text was updated successfully, but these errors were encountered: