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

1,201件の閲覧回数
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 返答(返信)

1,192件の閲覧回数
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 件の賞賛
返信

1,187件の閲覧回数
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 件の賞賛
返信