S32k344 example code build error

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

S32k344 example code build error

Jump to solution
849 Views
JungkyuHan1
Contributor III

with S32 Design Studio, I was trying to build the example code.

but most of all example codes show build error.

Do I have to do something before build?

1. adc_example_S32K344

2.mcu_example_S32K344

===========build result ================================

JungkyuHan1_0-1761641437633.png

JungkyuHan1_3-1761641675832.png

 

JungkyuHan1_1-1761641596861.pngJungkyuHan1_2-1761641621303.png

 

 

0 Kudos
Reply
1 Solution
783 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I'm not sure how you imported the RTD example. Please refer to the steps in the video. I didn't encounter any errors when building it.

View solution in original post

6 Replies
824 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Jungkyu,

Please click Update Code button mentioned in the description.txt:

3. Generating, building and running the example application
3.1 Generating the S32 configuration
Before running the example a configuration needs to be generated. First go to Project Explorer View in S32 DS and select the current project. Select the "S32 Configuration Tool" menu then click on the desired configuration tool (Pins, Cocks, Peripherals etc...). Clicking on any one of those will generate all the components. Make the desired changes(if any) then click on the "S32 Configuration Tool->Update Code" button.
3.2 Compiling the application
Select the configuration to be built: RAM/FLASH (Debug_RAM/Debug_FLASH) by left clicking on the downward arrow corresponding to the build button in eclipse.
Use Project > Build to build the project.
Wait for the build action to be completed before continuing to the next step. Check the compiler console for error messages; upon completion, the *.elf binary file should be created.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

804 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

Thank you for your support.

[Test 1] I have tried <S32 Configuration Tools> -><Manage SDK Components> (but changed nothing) and Click <Update Code and Build Project> , But meet another Errors.

[Test 2] I have tried <S32 Configuration Tools> -><Manage SDK Components> (add [adc] driver ) and Click <Update Code and Build Project> , But meet another Errors.

Could you help me?

 

[Test 1] - change nothing

JungkyuHan1_1-1761702181263.png

== Build Result . Errors =====

JungkyuHan1_0-1761702124154.png

[Test 2] - add [adc] driver

JungkyuHan1_2-1761702401831.png

== Build Result . Errors =====

JungkyuHan1_3-1761702566354.png

 

0 Kudos
Reply
784 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I'm not sure how you imported the RTD example. Please refer to the steps in the video. I didn't encounter any errors when building it.

721 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

I have tried copycat with the video you uploaded but failed(same result).

 

0 Kudos
Reply
718 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Are you encountering the problem when creating a new project, or are you experiencing the issue even after following all the steps in my video?

Can you reproduce the problem on a different computer?

Please try uninstalling S32DS v3.6.1 and then reinstalling S32DS v3.6.1 + S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 6.0.0.

692 Views
JungkyuHan1
Contributor III

Dear @Robin_Shen 

 

As You suggested, I uninstalled and reinstalled All the packages include s32Ds .

I got success to build the code.

Thanks

 

JungkyuHan1_0-1761894465150.png

 

0 Kudos
Reply