SCST in S32K146

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,217件の閲覧回数
vishnukumar_n
Contributor II

Hello,

We are trying to integrate the SCST lib in our project which run on the S32K146 controller and the compiler used was GHS v2016.5.4.

After including the "-preprocess_assembly_files" in the cmake file, still we are getting the error as "The file "m4_scst_configuration.h" cannot open, error #......"

As per the manual "M4_S32K144_SCST_User_Manual", this SCST lib shall support the GHS compiler v2017.1.4 and v2017.5.4.

From the above statement, its is not possible to include other than those version in GHS? i.e. Not possible with the compiler v2016.5.4?

0 件の賞賛
1 解決策
1,192件の閲覧回数
vishnukumar_n
Contributor II

Hello @frantisekdobes ,

Thanks for your support, with the option -I we build the lib without any issue.

Best regards,

Vishnu

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,193件の閲覧回数
vishnukumar_n
Contributor II

Hello @frantisekdobes ,

Thanks for your support, with the option -I we build the lib without any issue.

Best regards,

Vishnu

0 件の賞賛
1,205件の閲覧回数
frantisekdobes
NXP Employee
NXP Employee

Hello,

when the header file cannot be open this is usually caused by not adding -I assembler option to tell assembler where the include files shall be searched for. For example in my project I have to add the following assembler option:

-I./SCST/src/h

It is needed to update the path after -I option to point to the folder where the  m4_scst_configuration.h is located (in my case the path is ./SCST/src/h).
Regarding the compiler version, usually the SCST will work also with other versions of compiler but this was not checked nor tested. The only version which was tested is written in the SCST user manual (GHS compiler v2017.1.4 and v2017.5.4).

Best Regards,

Frantisek

0 件の賞賛