How to configure S32DS for S32K342 examples compile?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to configure S32DS for S32K342 examples compile?

ソリューションへジャンプ
5,050件の閲覧回数
Jennie_Jing
Contributor II

hello,
I use S32DS.3.4 to open the S32K342 example project, and the RTD version is 2.0.0. ,and the tool chain is GCC 10.2. I did not change anything, but the compile failed. I think some configure is not well, so where is the problem?

 

0 件の賞賛
返信
1 解決策
5,022件の閲覧回数
Jennie_Jing
Contributor II

yes, I tried. At the beginning, the .mex file cannot be open, and I edited it by replace the line of<mcu_data>, the line now is like this:

<mcu_data>PlatformSDK_S32K3_2022_03</mcu_data>

 the middle is quite the latest sdks version I download last night.

but after generate code,  new error still occurs. IDE cannot find the header files.

But today I realize that the directory I choose  when import the project is very import, don't choose the install path of SDK, but choose the path :

...S32DS.3.4\S32DS\software\PlatformSDK_S32K3_2022_03\SW32K3_RTD_4_4_2_0_0_D2203\Uart_TS_T40D34M20I0R0\examples\S32DS\Uart_Example_S32K342

Nothing need to be changed. It works well.

Thank you.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
5,042件の閲覧回数
Jennie_Jing
Contributor II

and here's the errors. Sorry for the topic cannot be re-edit. WeChat Image_20220418221702.png1073_109_1.25.png

0 件の賞賛
返信
5,044件の閲覧回数
Jennie_Jing
Contributor II

this is the example project I use.

1650291904(1).png

0 件の賞賛
返信
5,023件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Jennie_Jing

have you try to update code?

Senlent_0-1650337681736.png

I tested this demo project, and it works fine on my side.

Senlent_1-1650337734799.png

BR!

      Jim,

0 件の賞賛
返信
4,720件の閲覧回数
krishnaraomane
Contributor II

Hi Team

I was compiling EBT example code from RTD with gcc 9.2.1 compiler using make build and observed complication fails at startup files krishnaraomane_0-1670379948708.png

also observing similar error while using GHS compiler as well with startup files.

 

Please let me know how to resolve this and generate elf files for GCC and GHS compilers

 

0 件の賞賛
返信
5,023件の閲覧回数
Jennie_Jing
Contributor II

yes, I tried. At the beginning, the .mex file cannot be open, and I edited it by replace the line of<mcu_data>, the line now is like this:

<mcu_data>PlatformSDK_S32K3_2022_03</mcu_data>

 the middle is quite the latest sdks version I download last night.

but after generate code,  new error still occurs. IDE cannot find the header files.

But today I realize that the directory I choose  when import the project is very import, don't choose the install path of SDK, but choose the path :

...S32DS.3.4\S32DS\software\PlatformSDK_S32K3_2022_03\SW32K3_RTD_4_4_2_0_0_D2203\Uart_TS_T40D34M20I0R0\examples\S32DS\Uart_Example_S32K342

Nothing need to be changed. It works well.

Thank you.

0 件の賞賛
返信