I have a strange problem when building the code I found (see link below or added file). So now my problem: I try to use the functions atan2f and sqrt. I know that to use these I have to include "math.h" which I did, but when I build the code the following errors appear:
Build error: undefined reference to `atan2f'
Build error: undefined reference to `sqrt'
Can someone help meor guide me in a derection where I can solve this?
PS: the code from the link is made for the Psoc 4, but I use the Psoc 5PL and made the necessary adjustments to make it 'work'.
Solved! Go to Solution.
PSoC5 LP MCU