I’m trying to setup sonarcloud for our project and build environment.
Our code runs on a STM32 microcontroller and is built using the ARM GCC toolchain (https://developer.arm.com/open-source/gnu-toolchain/gnu-rm).
Our project is managed by eclipse CDT with a special add-on for the ARM MCU. Eclipse CDT automatically generates the makes file, and we can build them via the cmd prompt in windows.
I followed the steps and installed the Scanner and Build wrapper for windows, and can build the project using the command:
"build-wrapper-win-x86-64.exe --out-dir bw-output make clean all’
“sonar-scanner.bat -Dsonar.projectKey=FFRM -Dsonar.organization=flyability -Dsonar.sources=. -Dsonar.cfamily.build-wrapper-output=bw-output -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=xxxxxxxxxx”
The build runs properly, but the analysis comes up empty on sonarcloud.
I’m guessing that there is an issue with detecting the compiler version, etc. Any help would be much appreciated.
Here are some of the log files, as well as the eclipse generated makefile: