HOWTO: Install GHS Compiler Plugin

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

HOWTO: Install GHS Compiler Plugin

HOWTO: Install GHS Compiler Plugin

S32 Design Studio (S32DS) supports Eclipse plug-in of Green Hills Software (GHS) compiler to compile S32DS projects via GHS compiler. This document describes how to install this plug-in and enable GHS in the new project wizard.

After the GHS Eclipse plug-in is installed successfully, you can be able to create and build S32DS project using GHS compiler under S32DS Eclipse environment if the device and SDKs support GHS compiler.

 

Installation instructions

To able to use GHS compiler, you need to make sure that GHS compiler is installed with a valid license. Follow the steps below to install eclipse plugin:

Install GHS Eclipse plug-in

  • On S32DS graphical user interface, go to menu "Help" -> "Install New Software"
DanielBarbu_0-1724323738892.jpeg

 


In the "Install" dialog appears, click on "Add" button. In the "Add Repository" dialogappears, click on "Local". Navigate to the eclipse directory located in your MULTI compiler installation(eg: C:\ghs\comp_202114\eclipse)

DanielBarbu_1-1724323981927.png

In the Name box, enter "GHS Eclipse". Click on "Add" button.

DanielBarbu_2-1724324072313.png

 In the Name/Version list, expand the Green Hills MULTI for Eclipse item. Select GreenHills MULTI for Eclipse corresponding to your target architecture(eg: Green Hills MULTI for Eclipse(ARM) and Green Hills MULTI for Eclipse(ARM64)). If you have MULTI licenses for more than one architecture, you can select all the targets you are licensed for. Click Next until you see the license acceptance page.

DanielBarbu_3-1724324146518.png

 If you accept the terms of the feature license, select I accept the terms in the license agreement. And click on "Finish" button.

DanielBarbu_4-1724324257519.png

 

If the Security Warning window appears, click on "Install anyway".

DanielBarbu_5-1724324310392.png

 

In the "Software Updates" dialog box appears, click on "Restart Now" to restart S32DS.- Go to "Window" -> select "Preference" -> "S32 Design Studio for S32 Platform" -> "S32DS Variables". Set your GHS installation path for S32DS_GHS_PATH variable (ex "C:\ghs\comp_202114").

DanielBarbu_6-1724324374973.png

 

Create new S32DS project using GHS in the project wizard.

Now you can create a new S32DS project and select GHS toolchain for the device andSDKs support GHS toolchain.

DanielBarbu_7-1724324414370.png

 

And you can see the GHS settings are showed in the S32DS project properties.

DanielBarbu_8-1724324493234.png

 


 

コメント

Hello NXP team,

I have tried the above procedure and its not working, It is a simple test project.

Created a simple project, using pins tool, updated the code , and tried to build all.

here is the commander and linker options generated with new project.

GHS C Compiler for ARM Standalone- 

ccarm

Options-

-preprocess_assembly_files -list --no_slash_comment -C99 --no_exceptions --gnu_asm --unsigned_fields --unsigned_chars --no_short_enum --ghstd=last --prototype_errors -Wimplicit-int --incorrect_pragma_warnings -Wshadow -Wtrigraphs -Wundef -G -dwarf2 -Osize -DS32K344 -DGHS -DENABLE_FPU -DMPU_ENABLE -DI_CACHE_ENABLE -DD_CACHE_ENABLE -DCPU_S32K344 -DS32K3XX -DCPU_CORTEX_M7 -IC:\Users\ganheg1\workspaceS32DS.3.5\GHS_Test/generate/include -IC:\Users\ganheg1\workspaceS32DS.3.5\GHS_Test/RTD/include -I"C:\NXP\S32DS.3.5\eclipse\../S32DS/software/PlatformSDK_S32K3/RTD/BaseNXP_TS_T40D34M30I0R0/header" -I"C:\NXP\S32DS.3.5\eclipse\/../S32DS/software/PlatformSDK_S32K3/RTD/BaseNXP_TS_T40D34M30I0R0//header/" -I"C:\NXP\S32DS.3.5\eclipse\/../S32DS/software/PlatformSDK_S32K3/RTD/BaseNXP_TS_T40D34M30I0R0//include/" -I"C:\NXP\S32DS.3.5\eclipse\/../S32DS/software/PlatformSDK_S32K3/RTD/Platform_TS_T40D34M30I0R0//include/" -I"C:\NXP\S32DS.3.5\eclipse\/../S32DS/software/PlatformSDK_S32K3/RTD/Platform_TS_T40D34M30I0R0//startup/include/" -I"C:\Users\ganheg1\workspaceS32DS.3.5\GHS_Test/board" -keeptempfiles -littleendian -cpu=cortexm7 -fpu=vfpv5_d16 -fsingle -thumb --no_commons

 

GHS C Linker for ARM Standalone

ccarm

options - 

--gnu_asm -g -dwarf2 -Wl,-keep=C40_Ip_AccessCode -Wl,-v -T "C:\Users\ganheg1\workspaceS32DS.3.5\GHS_Test/Project_Settings/Linker_Files/linker_flash_s32k344.ld" -e Reset_Handler -delete -ignore_debug_references -map -keepmap -Mn -nostartfiles -I"C:\Users\ganheg1\workspaceS32DS.3.5\GHS_Test/board" -larch -lstartup -lind_sd -L"C:\ghs\comp_202354_1fp_x64_ForNXP\lib\thumb2" -cpu=cortexm7 -thumb

 

評価なし
バージョン履歴
最終更新日:
‎08-22-2024 04:04 AM
更新者: