Code library build and floating point calculation

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
guxiang
Offline
Last seen:2 weeks 3 days ago
加入:2017-05-12 04:18
Code library build and floating point calculation

Hi, dialog
We want to pack several source code and build it into a library file like keil building "*.lib" file. Can dialog provide a project template or some guide base on smart snippets studio?
And there is no FPU in DA14681 , if we have some floating- point calculation in the application , what should we do to support it ?

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
工作人员
加入:2015-06-08 11:34
Hi guixiang,

Hi guixiang,

Regarding the creation of .lib file, the Smart Snippets is just a modified eclipse IDE, you will be able to find how to create a .lib file over the net.

Regarding the floating point calculation, no there is no floating point unit, you can include the math.h header in order to override the default floating point implementations but even if you dont you will be able to perform floating point operations.

Thanks MT_dialog