S32K Battery Cell Controller Evaluation Software does not build out of the box

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K Battery Cell Controller Evaluation Software does not build out of the box

747 次查看
gzleng
Contributor II

i just downloaded the sample software for this evm

RD33771CNTREVM

 

but the project does not build. 

there is duplicated symbol definition g_lpspiState in both the uja1169.c and the mc33771c_peripheries.c .. any one from nxp can test this out? 

标记 (1)
0 项奖励
回复
2 回复数

738 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gleng

I have downloaded this demo project ,and it works fine on my side, i guess the wrong resaon duo to your IDE or RTM version is not right for this demo.

1.Download the S32 Design Studio IDE for ARM (Version 2018.R1 is recommended).

2.I checked the RTM version ,which is SDK_S32K1xx_13

so please double check your IDE or Driver version again.

BR!

      Jim,

0 项奖励
回复

733 次查看
gzleng
Contributor II

thank you Jim for the verification.

i'm using the latest IDE from nxp website which is R2.2 and the SDK version is RTM 3. i would expect the toolchain to be backward compatible. 

on the other hand, if you look into the two files that i mentioned, they both DO contain exactly the same variable definition, which is a violation of the C project thus it should have failed. 

 

s32K_1xx_BCC_Eval/sources/uja_sbc/uja_1169.c line 15: lpspi_state_t g_lpspiState[LPSPI_INSTANCE_COUNT];

 

s32K_1xx_BCC_Eval/sources/mc33771c/mc33771c_peripheries.c line 53: lpspi_state_t g_lpspiState[LPSPI_INSTANCE_COUNT];

there would be a linker error when linking the final elf.

 

thanks

gz

0 项奖励
回复