s32k example project accessing files on system directory

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

s32k example project accessing files on system directory

1,340件の閲覧回数
momo12
Contributor III

Hi

I started the project based on following example: flexcan_encrypted_s32k144

Now I see that some files are in the system directory, like

C:\NXP\S32DS_ARM_v2.0\S32DS\S32SDK_S32K14x_EAR_0.8.6\platform\devices\callbacks.h

This file is even not write protected! So If I change it , It will be remain changed for all future porjects. 

I need to put every thing under git and in one place. What is the best way of doing this(how to have all sources in one directory)?  

Thx

0 件の賞賛
返信
3 返答(返信)

1,112件の閲覧回数
raresvasile
NXP Employee
NXP Employee

Hi,

The easiest way is to change a line in ProcessorExpert.pe:

   1. close project in S32DS

   2. open ProcessorExpert.pe from the project and locate the line :     <ProjectStaticFilesGenerationMode>LINKED</ProjectStaticFilesGenerationMode>

   3. Replace "LINKED" with "STANDALONE" and close file

   4. Reopen project in S32DS and delete contents of the SDK folder

   5. Regenerate code

Let me know if it worked.

Rares

0 件の賞賛
返信

1,112件の閲覧回数
momo12
Contributor III

Hi

well it worked partially sofar.

startup_S32K144.S

and linker files are still missing raresvasile

0 件の賞賛
返信

1,112件の閲覧回数
raresvasile
NXP Employee
NXP Employee

Hi, 

Unfortunately, those have to be copied manually into the project.

You can remove the links from the project and use drag and drop to copy them from the SDK location to the project tree.

BR,

Rares

0 件の賞賛
返信