HSE_demo compile env

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HSE_demo compile env

428 Views
ChenTj
Contributor I
hi NXP experts:
 
I am trying to understand HSE function on S32G3, and try HSE_DEMOAPP_S32G3XX_0_2_22_0, 
 
I have upgrade version to
    - S32DS.3.5_b220726_win32.x86_64.exe
    - SW32_S32DS_OfflineDevPack_3.5.0_D2207.zip
    - SW32G_RTD_4.4_4.0.2_P01_D2310_DS_updatesite.zip
 
but fail on compile the 32DS project, error on 
    fatal error: cannot read spec file 'nano.specs': No such file or directory
yet, I can find the nano.specs file in compiler dir 
ChenTj_1-1702274350333.png

 

I check the README.pdf where note about versions as below
 o S32 Design Studio 3.5 (Build 230629 Update 3) with:
    ▪ NXP GCC for Arm Embedded Processors v9.2 build 1701;
    ▪ S32 Design Studio Platform package, version 3.5.3;
    ▪ S32 Design Studio Platform Tools package, version 3.5.3;
    ▪ Platform specific development package and RTD (see table below);
    ▪ Note: DS 3.5 U3 apply to S32G2 ,S32G3 and SAF85
 
S32G3            S32 DS packages – S32G development package version 3.5.3
                       S32 DS packages – S32XX RTD AUTOSAR 4.4 Version 4.0.2 P1
 
I check the installation detail and find the compiler version is not 1701,  is this the root cause? How can I get the rigth version? 
ChenTj_0-1702273184903.png

do I miss other detail? please help. Thanks

 

below is the build log message

11:00:02 **** Build of configuration BuildConfig_Flash for project HSE_DEMO_S32G3XX ****
make -j4 all
Building file: D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/global_variables.c
Building file: D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/hse_config.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/services/src/global_variables.args" -MMD -MP -MF"src/services/src/global_variables.d" -MT"src/services/src/global_variables.o" -o "src/services/src/global_variables.o" "D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/global_variables.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/services/src/hse_config.args" -MMD -MP -MF"src/services/src/hse_config.d" -MT"src/services/src/hse_config.o" -o "src/services/src/hse_config.o" "D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/hse_config.c"
Building file: D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/hse_crypto.c
make: /bin/sh: Permission denied
Building file: D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/hse_fuses.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/services/src/hse_crypto.args" -MMD -MP -MF"src/services/src/hse_crypto.d" -MT"src/services/src/hse_crypto.o" -o "src/services/src/hse_crypto.o" "D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/hse_crypto.c"
make: *** [src/services/src/subdir.mk:50: src/services/src/global_variables.o] Error 127
make: *** Waiting for unfinished jobs....
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/services/src/hse_fuses.args" -MMD -MP -MF"src/services/src/hse_fuses.d" -MT"src/services/src/hse_fuses.o" -o "src/services/src/hse_fuses.o" "D:/01_work/software_installed/nxp/HSE_DEMOAPP_S32G3XX_0_2_16_1/demo_app/src/services/src/hse_fuses.c"
arm-none-eabi-gcc.exe: fatal error: cannot read spec file 'nano.specs': No such file or directory
arm-none-eabi-gcc.exe: fatal error: cannot read spec file 'nano.specs': No such file or directory
compilation terminated.
make: *** [src/services/src/subdir.mk:64: src/services/src/hse_crypto.o] Error 1
arm-none-eabi-gcc.exe: fatal error: cannot read spec file 'nano.specs': No such file or directory
compilation terminated.
make: *** [src/services/src/subdir.mk:57: src/services/src/hse_config.o] Error 1
compilation terminated.
make: *** [src/services/src/subdir.mk:71: src/services/src/hse_fuses.o] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.

11:00:08 Build Failed. 5 errors, 0 warnings. (took 5s.810ms)

 

0 Kudos
Reply
0 Replies