Design Studio - includes / librarys

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Design Studio - includes / librarys

1,931 次查看
Raphael2
Contributor III

Hi,

 

I have a problem with the library system in Design Studio (version 3.4).

I tested the lpuart_echo_s32k144 example with those includes:

Raphael2_0-1628086558995.png

I want to use parts of it in another project, but the first include can't be found there.

Opening the declaration of it shows, that it is just a group of included header files.

Raphael2_1-1628086874580.png

But if I try to include them its an "unresolved inclusion" again.

So I want and need to learn the general workflow with inclusions.

 

 

How do I find the librarys I need?

Do I need to copy them to a library folder?

How do I connect a library to my project?

 

I am new to MCU programming and grateful for any help!

Best regards

Raphael

0 项奖励
回复
3 回复数

1,919 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Raphael,

The sdk_project_config.h shows: This file was generated by the S32 Configuration Tools. Any manual edits made to this file will be overwritten if the respective S32 Configuration Tools is used to update this file.

sdk_project_config.jpg

So you can direct "Editing a device configuration" for the new project or "Exporting a device configuration" from this old project.
S32DS_User_Guide can be found C:\NXP\S32DS.3.4\S32DS\help\pdf

Exporting a device configuration.jpg

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.
-------------------------------------------------------------------------------

0 项奖励
回复

1,914 次查看
Raphael2
Contributor III

Hi Robin,

thank you for the fast answer.

I am new to microcontroller programming so I want to learn how the "usual" inclusion of libraries/header-files should be done, so I can program them by myself without those Tools. And the example files I tried so far used the S32 Configuration Tools.

So if we take this simple lpuart program as example, how can I recreate it without this Configuration Tools?

Can you recommend any Guides or Data sheets to learn this from scratch?

 

Btw. where can I find the Design Studio User Guide from your screenshot? Didn't find it online.

 

Bets regards,

Raphael

0 项奖励
回复

1,906 次查看
Raphael2
Contributor III

Just to give an example:

Raphael2_1-1628171522670.png

why are those "basic" librarys not callable?

and how do I get access to them?

0 项奖励
回复