-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cproject targeting toolchain AC6 with only a single legacy ASM assembler file does not link #69
Comments
We don't have a linker handling for the language of the assembly file, which is "AS_ARM" that we introduced just to cope with legacy projects.
@brondani where (filename + line number) would this workaround need to be applied or is this being generated? |
@jkrech The workaround can be appended to the |
critical label removed due to provided workaround above. |
Open-CMSIS-Pack/cmsis-toolbox#69 Add linker command for Arm Assembler only projects.
Fixed in Open-CMSIS-Pack/devtools#1101 |
Is there an existing issue for this?
Unusable feature
The linked project can be converted successfully by uv2csolution 1.0.0 into a csolution formatted project.
https://downloads.software.api.keil.arm.com/projects/flash-option-bytes-86968ef2.zip
This project targets Arm Compiler 6 (AC6) toolchain and only contains a single module using the AC5 assembler syntax for
armasm
. If only such a file exists, it seems that the linker does not create an axf file output but also not throws an error.Current Behavior
C:/workspaces/Nucleo_G747RE/tmp/FlashOptionBytes/STM32G4xxSBOPT
[1/2] Building AS_ARM object CMakeFiles\FlashOptionBytes.dir\C_\workspaces\Nucleo_G747RE\STM32G4xx_SB_OPT.o
Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead.
0 Errors, 1 Warning
[2/2] Linking AS_ARM executable C:\workspaces\Nucleo_G747RE\out\FlashOptionBytes\STM32G4xxSBOPT\FlashOptionBytes.axf
info cbuild: build finished successfully!
=> despite the last message no file FlashOptionBytes.axf got generated
Expected Behavior
=> at least an error message - if this scenario (using legacy ASM only) is not supported
better:
=> FlashOptionBytes.axf gets generated by the linker step for a project that only has an armasm module.
Steps To Reproduce
uv2csolution
cbuild ...
Affected tools
Affected operating systems
Environment
No response
The text was updated successfully, but these errors were encountered: