- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to use the CMSIS- DSP 4.3.0 to do a FFT on a PSoC5.
The source includes the arm_bitreversal2.S file. What are the steps to embed the file correctly in my project??
Best regards, Wolfgang Kiefer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creator
Help
Documentation
GCC Documentation
GNU Assembler
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content