CMSIS_5 icon indicating copy to clipboard operation
CMSIS_5 copied to clipboard

Arm compiler templates use legacy armasm assembly syntax.

Open flit opened this issue 5 years ago • 1 comments

The Arm Compiler 6 integrated assembler uses the GNU assembler syntax. However, the templates in Device/ARM/*/Source/ARM directories uses the legacy armasm syntax.

Either the syntax should be switched, or template with the GNU syntax should be added. The existing GNU assembler startup file won't work due to the difference in linked-defined symbols (e.g. for the stack) when using armlink.

flit avatar Aug 12 '20 22:08 flit

When migrating to AC6 the suggested approach is to use the startup_.c + linker script rather than assembler files. Therefore no GAS assembly syntax startup files are provided.

see: https://arm-software.github.io/CMSIS_5/Core/html/startup_s_pg.html https://arm-software.github.io/CMSIS_5/Core/html/startup_c_pg.html

jkrech avatar Aug 13 '20 05:08 jkrech