iar embedded workbench cannot resolve links from migrated code from s32 ds

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iar embedded workbench cannot resolve links from migrated code from s32 ds

1,981 Views
sanjay645
Contributor I

Hello, I have a project created on s32 design studio using s32k3, I migrated the code to IAR, but after this I am getting the following error after compilation on IAR:

" FindFirstFileEx(link::generated src::c:wc/stl-wcu1v3-my24/tags/baseline/stl_1_3_wcu_s32ds_cdd4_r19_wspace_svn5843/common/tresos/sample_app_mwct20xx/output/src): The filename, directory name, or volume label syntax is incorrect.
"

sanjay645_0-1697693514835.png

 

When I try to remove link from xml file I am getting another error : "

Error[Ta023]: Call to a non __ramfunc function (FSK_IsBusy) from within a __ramfunc function C:\wc\STL-WCU1v3-MY24\branches\Reference\SourceDependencies\RTD\SW32K3_RTD_4.4_2.0.1\eclipse\plugins\Wct_TS_T40D34M27I0R19\src\Wct_HalDdm.c 1462

sanjay645_0-1697693308636.png

 

"

When I opened "ProjectInfo.xml" file, I have path like "<PathName>link::Tresos\plugins\Adc_TS_T40D34M20I1R0\src::C:\wc\STL-WCU1v3-MY24\branches\Reference\SourceDependencies\RTD\SW32K3_RTD_4.4_2.0.1\eclipse\plugins\Adc_TS_T40D34M20I1R0\src\Adc.c</PathName>", It seems that IAR is not able to resolve this link, Please help me out how can I resolve this error.

 

Also I have a doubt, the earlier project which i am migrating to IAR is created on S32 design sutido using "NXP GCC 10.2 for ARM 32 bit Bare Metal", is this possible to migrate code to IAR? Because I followed code migration steps tutorial that says that we have to create a project in S32 design studio using IAR toolchain, then it is migrated to IAR easily without having any error.

0 Kudos
Reply
1 Reply

1,924 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the IAR code is slightly different and the code from GCC needs to be modified (for example __attribute__ is not supported on IAR). 

Project created with S32DS and IAR compiler plugin can be used with IAR workbench, but project created for GCC need some effort to make it usable with IAR - looks that for example paths for IAR uses back slash, but gcc running under msys2 uses normal Unix slash. 

 

0 Kudos
Reply