An error occurs when compiling the IPCF_Example_multi_instance_S32G274_M7_0 project

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

An error occurs when compiling the IPCF_Example_multi_instance_S32G274_M7_0 project

Jump to solution
281 Views
DRAVE
Contributor IV

Hi nxp,

我正在使用 S32 Design Studio for S32 Platform 3.5 编译“IPCF_Example_multi_instance_S32G274_M7_0” 例程,出现报错如下:

14:35:25 **** Incremental Build of configuration Debug_RAM for project IPCF_Example_multi_instance_S32G274_M7_1 ****
make -j20 all
Building file: ../generate/src/OsIf_Cfg.c
Building file: ../src/main.c
Building file: ../board/Siul2_Port_Ip_Cfg.c
Building file: ../src/sample.c
Building file: ../generate/src/Mpu_M7_Ip_Cfg.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/sample.d" -MT"src/sample.o" -o "src/sample.o" "../src/sample.c"
arm-none-eabi-gcc "@generate/src/Mpu_M7_Ip_Cfg.args" -MMD -MP -MF"generate/src/OsIf_Cfg.d" -MT"generate/src/OsIf_Cfg.o" -o "generate/src/OsIf_Cfg.o" "../generate/src/OsIf_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@board/Siul2_Port_Ip_Cfg.args" -MMD -MP -MF"board/Siul2_Port_Ip_Cfg.d" -MT"board/Siul2_Port_Ip_Cfg.o" -o "board/Siul2_Port_Ip_Cfg.o" "../board/Siul2_Port_Ip_Cfg.c"
arm-none-eabi-gcc "@generate/src/Mpu_M7_Ip_Cfg.args" -MMD -MP -MF"generate/src/Mpu_M7_Ip_Cfg.d" -MT"generate/src/Mpu_M7_Ip_Cfg.o" -o "generate/src/Mpu_M7_Ip_Cfg.o" "../generate/src/Mpu_M7_Ip_Cfg.c"
../src/main.c:20:10: fatal error: Clock_Ip.h: No such file or directory
20 | #include "Clock_Ip.h"
| ^~~~~~~~~~~~
compilation terminated.
In file included from ../generate/src/Mpu_M7_Ip_Cfg.c:46:
D:/nxp/workspaceS32DS.3.5/IPCF_Example_multi_instance_S32G274_M7_1/generate/include/Mpu_M7_Ip_Cfg.h:39:10: fatal error: Mpu_M7_Ip_Types.h: No such file or directory
39 | #include "Mpu_M7_Ip_Types.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../board/Siul2_Port_Ip_Cfg.c:43:
../board/Siul2_Port_Ip_Cfg.h:47:10: fatal error: Siul2_Port_Ip_Types.h: No such file or directory
47 | #include "Siul2_Port_Ip_Types.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
../src/sample.c:24:10: fatal error: ipcf_Ip_Cfg.h: No such file or directory
24 | #include "ipcf_Ip_Cfg.h"
| ^~~~~~~~~~~~~~~
In file included from ../generate/src/OsIf_Cfg.c:44:
D:/nxp/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg_TypesDef.h:87:6: error: #error "Software Version Numbers of OsIf_Cfg_TypesDef.h and OsIf_Cfg.h are different"
87 | #error "Software Version Numbers of OsIf_Cfg_TypesDef.h and OsIf_Cfg.h are different"
| ^~~~~
compilation terminated.
../generate/src/OsIf_Cfg.c:93:6: error: #error "Software Version Numbers of OsIf_Cfg.c and OsIf_Cfg_TypesDef.h are different"
93 | #error "Software Version Numbers of OsIf_Cfg.c and OsIf_Cfg_TypesDef.h are different"
| ^~~~~
make: *** [generate/src/subdir.mk:23: generate/src/Mpu_M7_Ip_Cfg.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/subdir.mk:23: src/sample.o] Error 1
make: *** [board/subdir.mk:20: board/Siul2_Port_Ip_Cfg.o] Error 1
make: *** [src/subdir.mk:23: src/main.o] Error 1
make: *** [generate/src/subdir.mk:23: generate/src/OsIf_Cfg.o] Error 1
"make -j20 all" terminated with exit code 2. Build might be incomplete.

14:35:26 Build Failed. 12 errors, 0 warnings. (took 552ms)

打开 Peripherals 配置出现问题显示如下:

DRAVE_0-1728542282150.png

已安装软件包如下:

DRAVE_2-1728542432284.png

麻烦可以帮忙看看什么原因不?谢谢!

0 Kudos
Reply
1 Solution
240 Views
DRAVE
Contributor IV

Hi @Celeste_Liu 

貌似是我装多一个 RTD 包导致的,我重装软件后就可以了,谢谢!问下,是否有关于 S32G-VNP-RDB3 类似 AN13750.pdf 的文档?就是能在  S32G-VNP-RDB3 上实现 A 核和 M 核同时工作的状态?

View solution in original post

0 Kudos
Reply
5 Replies
255 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @DRAVE ,

感谢你的提问。在编译项目之前,你似乎没有使用配置工具生成代码。请点击标记处的绿色按钮”更新源代码“,它会向项目中添加缺失的模块以使其正常工作。我们建议再次导入示例(删除之前的)并使用配置工具生成代码。

Celeste_Liu_0-1728551462510.png

Best Regards,

Celeste

0 Kudos
Reply
241 Views
DRAVE
Contributor IV

Hi @Celeste_Liu 

貌似是我装多一个 RTD 包导致的,我重装软件后就可以了,谢谢!问下,是否有关于 S32G-VNP-RDB3 类似 AN13750.pdf 的文档?就是能在  S32G-VNP-RDB3 上实现 A 核和 M 核同时工作的状态?

0 Kudos
Reply
234 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello ,

很高兴听到你的问题解决了。目前没有关于 S32G3 的双核启动的类似 AN13750.pdf 的文档,并且也没有发布此类文档的计划。这是因为 S32G3 的 GoldVIP 里面已经有双核启动了。我认为 AN13750 对你仍具有一定的参考价值,因为思路是一致的。以下这个案例可能会对你有所帮助:Solved: S32G399A-RDB3-Multi-core-boot-failed-following-AN13750 。

BR,

Celeste

0 Kudos
Reply
223 Views
DRAVE
Contributor IV

Hi @Celeste_Liu 

好的,我参考一下,谢谢!

0 Kudos
Reply
276 Views
DRAVE
Contributor IV

Hi nxp,

下面三个例程运行都出现一样的现象

IPCF_Example_multi_instance_S32G274_M7_0

IPCF_Example_multi_instance_S32G274_M7_1

IPCF_Example_multi_instance_S32G274_M7_2

0 Kudos
Reply