- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have been working with the WICED-Smart SDK, and have had some trouble in regards to floating-point math.
When I try to do double arithmetic (i.e. increase a double variable by 1) I get multiple runtime errors such as the following:
undefined reference to `__aeabi_i2d'
I assume this is coming up because I haven't included the proper library in order to these functions, is that correct?
If so, is there an accessible library that can solve this and allow this arithmetic to happen?
Any help you can provide will be greatly appreciated.
Thanks,
Gurpal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can also consider using a fixed point math library like libfixmath. With caching and the look-up-table disabled, this library compiles to under 2K. Unused function elimination is enabled by default for all applications in the SDK. So only functions that are accessed by the application will be included in the final image.