RTD 3.0.0 example code does not compile

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

RTD 3.0.0 example code does not compile

ソリューションへジャンプ
428件の閲覧回数
durga_choudhury
Contributor III

I had asked a similar question before; this is different (but somewhat related).

IDE details:

S32 Design Studio for S32 Platform

Version: 3.6.2

Build id: 250529 (Update 2)

 

SDK details:

 

durga_choudhury_0-1759865678244.png

 

 

The code generator creates files in the 'board' subdirectory of the project that seem to be neither needed nor does it compile. This can be made to happen in several different ways, but one step-by-step instruction to reproduce is as follows:

 

1. Create a new project from examples.

2. Choose Adc_example_S32K148 (This happens in other examples or my own code also when a port is not configured)

3. Double click on the .mex file. It will ask you to upgrade it to the latest IDE.

4. Upgrade it and click on 'Update code'.

5. The generated code does not build because of this line in board/Port_Ci_Port_Ip_Cfg.h:

#include "Port_Ci_Port_Ip_Types.h"

which does not exist

6. Delete both board/Port_Ci_Port_Ip_Cfg.c and board/Port_Ci_Port_Ip_Cfg.h. The project will now compile.

 

Am I doing something wrong or is this an issue with the IDE?

 

タグ(2)
0 件の賞賛
返信
1 解決策
139件の閲覧回数
durga_choudhury
Contributor III

Well, I have found several similar issues with the 3.6.2 IDE. For example, in certain cases, the file board/Port_Ci_Port_Ip_Cfg.c has only one line in it, like this:

 

undefined

When this happens, there are no errors in the "Peripherals" or "Pins" view (i.e. nothing with the red cross mark). And this happens *after* I have clicked on 'Update code'.

Deleting this file makes the project build (but not necessarily generates a correct image; I have not tried running the image)

 

It is my intent to upgrade to 3.6.4, but before that I want to be done with porting from "Processor Expert' to RTD.

Since you cannot reproduce the issue, I am going to close this thread, but if some of these issues are persistent in 3.6.4 then we may need to revisit them.

元の投稿で解決策を見る

タグ(2)
0 件の賞賛
返信
6 返答(返信)
400件の閲覧回数
durga_choudhury
Contributor III

Hello @_Leo_ 

 

Thank you for your support. The 'Installation Details' window has 5 tabs. I suppose you wanted only the 'Configurations' tab, which I am attaching as a text file. Please let me know if I can provide any other information.

 

Best

Durga

0 件の賞賛
返信
362件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

I refer to an screenshot like the following. I could be an scrolled capture o multiple captures to see all the installation details please.

_Leo__0-1759951468382.png

 

0 件の賞賛
返信
357件の閲覧回数
durga_choudhury
Contributor III

Hello @_Leo_ 

 

Thank you for your support. Please find two screen shots attached. There are a significant amount of overlap between the two; one is a fully scrolled up view and the other is a fully scrolled down view.

0 件の賞賛
返信
144件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi again,

I have reviewed your installation details, and seems correct. It's a pretty strange issue.

Could you please try a new installation please?

There is now available the S32 Design Studio 3.6.4 – Windows/Linux

0 件の賞賛
返信
140件の閲覧回数
durga_choudhury
Contributor III

Well, I have found several similar issues with the 3.6.2 IDE. For example, in certain cases, the file board/Port_Ci_Port_Ip_Cfg.c has only one line in it, like this:

 

undefined

When this happens, there are no errors in the "Peripherals" or "Pins" view (i.e. nothing with the red cross mark). And this happens *after* I have clicked on 'Update code'.

Deleting this file makes the project build (but not necessarily generates a correct image; I have not tried running the image)

 

It is my intent to upgrade to 3.6.4, but before that I want to be done with porting from "Processor Expert' to RTD.

Since you cannot reproduce the issue, I am going to close this thread, but if some of these issues are persistent in 3.6.4 then we may need to revisit them.

タグ(2)
0 件の賞賛
返信
405件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

Following your step-by-step instructions, after step 4 I built the project successfully:

_Leo__0-1759878903039.png

Maybe we need to take a step back and check the installation.

Please an screenshot of your "Installation Details", which you can find in "Help" tab of the IDE.

0 件の賞賛
返信