Go to declaration is working but still build error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi Everyone,

this is my first post in this forum. I try to run an FFT with the CMSIS library on PSoC5LP (CY-KIT0059) and send it via UART-USB to the PC. Therefore, i followed the instructions of Including CMSIS library to PSoC project and I have seen a similar post: https://community.cypress.com/thread/16340?q=Including%20CMSIS, but I wasnt able to get the project build. When I click on "Go to declaration" the creator finds a reference to the fuctions I used from the arm_math library, but when I build the projects there are errors like

Build error: undefined reference to `arm_cfft_radix4_f32'

I attached the workspace bundle and hope you can help find me my mistake.

Greetings,

Fabian

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
SrikanthD_56
Employee
Employee
25 sign-ins First question asked First comment on blog

Hi Fabian,

You were seeing errors due to missing libarm_cortexM3l_math.a library.

I have modified your project to include this library and now it builds without any errors. Take a look at the modified project (attached).

Hope it helps! Cheers!

View solution in original post

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
SrikanthD_56
Employee
Employee
25 sign-ins First question asked First comment on blog

Hi Fabian,

You were seeing errors due to missing libarm_cortexM3l_math.a library.

I have modified your project to include this library and now it builds without any errors. Take a look at the modified project (attached).

Hope it helps! Cheers!

0 Likes