Scanning platformio c++ embeded projects

Hi @Andreas_Mandel,

this is a known issue with arduino cli which copies files during build (ie see report1 report2).

You are getting a copy of the source files in ./bin/src because of --build-dir. You could try the following:

  • if possible, replace bin/src with src in the sonarqube-out/build-wrapper-dump.json file and set sonar.sources to src
1 Like