C++ in-file assembly
Hi,
Yes the syntax is quite different between Keil and System Workbench for STM32, which uses teh GCC compiler. You should look at the GCC dodumentation to learn how to write assembly language functions in C/C++; the documentation is freely available on Internet: just Google “GCC manual”.
Another alternative would be to craete a “.s” file with your assembly code, but in all cases teh ASM syntax has to be the GNU assembler syntax, not the Keil one...
Bernard (Ac6)