Closed xinshuwei closed 2 years ago
Use the SRCS
variable just like C files, but you must use a capital .S
file extension.
SRCS += myfile.S
If you need to add any assembly flags to the build you can use the PROJ_AFLAGS
variable, which is currently undocumented.
See Build Configuration for more details, and let me know if there's anything I can help clarify. I'll get some documentation added on the asm files - no one has needed it yet.
Thanks replay I have add .s file ,but have a lots of error
can you help me,thanks
asm code
The highlighted instructions are not valid ARM assembly. See the ARM Assembly official User Guide.
For example, pcm
is not a valid ARM register. It looks like this code is ported from a different architecture?
Thank you, i got it
Visual Studio Code version
C/C++ Extension version 1.11.4
Target microcontroller and evaluation platform MAX78000EVKIT
Describe the bug how to add asm file(.s asm file) in gcc project (edit makefile ?)