Make a copy of the file in the project folder.
Right click in Creator's workspace window on "Source Files" and select add exising item, then select the copy. The file will get included as part of the project.
Thank you, Bob!
So far so good. But when I compile the project I get a linker error. It seems that the file isn't really included in the compiler process...
I have attached the file arm_bitreversal.S
Thanks for help.
arm_bitreversal2.zip 2.0 K
Odd! The added file does not get included. When I force the file to get included into the project, the assembler complains about various errors (19!).
An easy test for a file included is to right-click on its name in the workspace window and select "Compile". If that is grayed out, the file was not recocnized as a source file, but is kept with the project.
To force your .s-file to get compiled I added a new file and copied the original contents into it.
Have you got other .s-files to test with?
the problem was the incompatible syntax of the CMSIS assembler file. I have looked at other existing and corrct compiled .S - files (CyBootAsmGnu.s) in the project and fitted the syntax from this example.
Have a look at the attached file. It's a new version for PSoC5. Now it compiles and links without syntactical errors.
Where can I find a tutorial for Assembler syntax of the PSoC Creator ??
Problem is solved.- Thank you!
arm_bitreversal21.zip 2.0 K