AMMCLIB and floating point

cancel
Showing results for 
Search instead for 
Did you mean: 

AMMCLIB and floating point

357 Views
Contributor I

Hi everyone,

I'm trying to use AMMCLIB on a MPC5744P processor with S32 design studio.

My problem is to use the GDFLIB_FILTER_IIR1_DEFAULT_FLT who look like to be undeclared, it appear that all definition about this filter (type and function) are lock by this Line (in SWLIBS_Config.h) : 

pastedImage_2.png

If I correctly understand this constant is define when the compiler doesn't use hardware floating point unit but in my compiler setting I've set the Use hardware floating point : 

pastedImage_1.png

I've tried to change the signal Processing option but it doesn't change anything. Is Anyone have an idea on how to fix it?

Thanks,

0 Kudos
4 Replies

8 Views
NXP Employee
NXP Employee

Hi Clement,

This could be the known issue that some internal compiler macros are not evaluated correctly by eclipse.

This should be fixed in the coming release v1.2.

I assume you are able to build the elf file. Am I right?

Stan

0 Kudos

8 Views
Contributor I

Hi Stan,

Yes the elf file is correctly build.

After a few research in S32 I found this constant in the project properties but i can't edit it... Do you know when the next release will be available?

Clement,

0 Kudos

8 Views
Contributor I

Here the problematic constant: 

pastedImage_1.png

0 Kudos

8 Views
NXP Employee
NXP Employee

Hi Clement,

The official release is scheduled for 23-March-2017. It usually takes few days before it appears on the web.

So I assume early next week you should be able to download it from S32 Design Studio IDE|NXP 

Stan

0 Kudos