platformio / platformio-docs

PlatformIO Documentation
https://docs.platformio.org
Apache License 2.0
240 stars 325 forks source link

Expose `--skip-packages` option in GUI #217

Closed maxgerhardt closed 2 years ago

maxgerhardt commented 3 years ago

The PIO Home -> Inspect screen should have an option that makes it so that --skip-packages is passed to pio check, otherwise ESP32, ESP8266 and SAMD based projects (and possible others) cannot be code-inspected in the UI because cppcheck fails.

See https://github.com/platformio/platformio-core/issues/3951 and https://community.platformio.org/t/code-inspection-not-returning-expected-result/21480.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

maxgerhardt commented 3 years ago

This issue is still valid.

maxgerhardt commented 3 years ago

._. don't close it, dear stale bot.

grisharav commented 3 years ago

Agree, still there...

maxgerhardt commented 3 years ago

@ivankravets, how do I reopen the issue if the bot ignores me? :D

ysmilda commented 2 years ago

I'm running in to this problem with the Atmelxx08 and Atmelxx09 series as well (MegaCoreX)

MomePP commented 2 years ago

I got this problem too. Found that there is undocumented check options check_skip_packages = true can be set in platformio.ini. This passes --skip-packages when inspects code from GUI (PlatformIO Home).

Hope this helps !

ivankravets commented 2 years ago

Sorry, it is our bug. We will update our docs.

jerabaul29 commented 2 years ago

Same problem with Sparkfun Artemis using the core from nigelb.

GuyZou commented 2 years ago

Please, Fix-it ...

maxgerhardt commented 2 years ago

See https://github.com/platformio/platformio-core/issues/3951#issuecomment-993968462 for a platformio.ini-side fix, this should work with the GUI too.