- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am I doing something wrong, it appears that math.h is missing round. Are these higher level math functions hidden in some other library?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
You need to set in
Creator -> Project -> Build Settings -> Linker the "Additional Libraries" to "m" (Yes, just the letter 'm')
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
You need to set in
Creator -> Project -> Build Settings -> Linker the "Additional Libraries" to "m" (Yes, just the letter 'm')
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That doesn't appear to be an option. I hadn't realised that PSoC creator doesn't directly imply a compiler. I'm guessing Keil 9.51 isn't C99 capable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I really tried to attach this image:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, I guess I'll just resolve to live in the 90s
- 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
Keil have had 17 years to update their compiler. It appears that it's still a supported toolchain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider switching to a more modern PSoC family as PSoC5 which has got an ARM M3 core and uses gcc. Fewer problems (apart from some new ones), faster, cleaner. Same components, only trouble is from different endianess between 8051 and M3.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brand new design, but the board designer laughed at the idea of using a PSoC5. The amount of time we'd have saved if we'd insisted.