We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How do I use a c header file in an assembly file? When I use: #include "xxx.h" I get the invalid line start error. Please help
uVision works through the files in the Project file list in order.
So you could try something like this:
Put the headers at the top of the list, and define a "Custom Translation" that just pre-processes them to, say, .i files.
Then you also add the .i files, and set them as assembler source files.
Then the rest of your project files, as usual...
Not amazingly convenient, but should work...