I seem to have a problem building the default embedded project for nRF52840_XXAA.
Severity Code Description Project File Line Suppression State
Error Command-line action failed Test1 C:\Users\xxx\source\repos\Test1\VisualGDB 1
Error Build has failed. See the Output window for more details. Test1 C:\Users\xxx\source\repos\Test1\VisualGDB 1
Error MSB3073 The command “”C:\Program Files (x86)\Sysprogs\VisualGDB\\VisualGDB.exe” /build “C:\Users\xxx\source\repos\Test1\Test1.vcxproj” “/solution:C:\Users\xxx\source\repos\Test1\Test1.sln” “/config:Debug” “/platform:Win32″” exited with code 1. Test1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
Output error message is:
1>as: unrecognized option `-mabi=aapcs’
It seems as if the CFLAGS are also used for the assembler, ASFLAGS := $(CFLAGS) $(ASFLAGS), and that it does not recognize the -mabi option, which is ARM specific (??). I am just guessing here and it might be something different.
I am using Visual Studio 2017 with VisualGDB build 3073