Hi NXP team,
Hi,
you probably didn't install latest update(s). Please check this thread:
https://community.nxp.com/thread/490693
Jiri
Hi,Jiri
Thanks for your reply. I installed SD32 2018R1 then the problem disappeared.
But there are errors after building, as the Fig. below. I check the library source and find "SWLIBS_DEFAULT_IMPLEMENTATION" seems undefined. There is also no example project for library"S32K14x_AMMCLIB" in S32DS 2018R1.
The attachment is my project, can you check it for me? The source comes from sample code of function GFLIB_SinCos_F32 in S32K14XMCLUG.pdf.
thankyou
Hi,
you need to define SWLIBS_DEFAULT_IMPLEMENTATION macro in SWLIBS_Config.h file:
Jiri
Hi,
I try to define SWLIBS_DEFAULT_IMPLEMENTATION in file SWLIBS_Config.h,and then include it in main.c, but there is still error as the Fig. below.
The attachment is my project.
In fact, I had tried to define SWLIBS_DEFAULT_IMPLEMENTATION as 3 before consulting you, the same error occurred.
Maybe there are some other configurations need to be done.
Hi,
make sure that you have selected Float ABI to hard:
Also check the .args file if contain all settings:
Sometimes there is missing -mfpu argument. If it is your case - double click on fpv4-sp-d16 option in project properties:
Hope it helps
Jiri
Hi,
I had selected Float ABI to hard, but there is no FP settings in the .args file. It is still missing even after double click on fpv4-sp-d16 option. Then I added it manually, but it returned to th original state after building. After many times of "double click", FP settings finally appeared and errors disappeared.
It seems FP settings in the .args file can appear only after many tries.
Anyway, I can debug now.
Thx.
Hi,
thanks for report. I'll try to reproduce this issue and rise ticket for this bug.
Jiri