I'm setting up an old uVision project in VS Code/Keil Studio and getting the build error "Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead.".
Reading some forums I need to add '--diag_suppress=1950'.
I've tried adding to the project .cproject.yml file under "project: setups: misc:", in various locations but the flag is not recognised; "armclang: error: unknown argument: '--diag_suppress=1950'".
Here is a snippet from my .cproject.yml file:
Any suggestions on how I can fix this?
It is recommended to migrate your project to Arm Compiler 6 - see e.g.:
"Migrating existing Keil MDK project from using Arm Compiler 5 to Arm Compiler 6"
https://developer.arm.com/documentation/ka005089/latest/
"Arm Compiler for Embedded Migration and Compatibility Guide"
https://developer.arm.com/documentation/100068/latest/
---
Related:
"Can I add Arm Compiler 5 to Keil MDK 5.37 (or newer)?"
https://developer.arm.com/documentation/ka005073/latest/
( see section "If you have a User-based License (UBL) for Keil MDK..." )
Thank you for the information.
Problem is that startup file using old ARM assembly is generated by the CubeMx.