S32G3 Bootloader link error

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

S32G3 Bootloader link error

ソリューションへジャンプ
1,018件の閲覧回数
superyyf
Contributor II

I encountered the following error while building the S32G399A bootloader project. I just disable the Eep module and MemDal module and remove MemDal_init and MemDal_Deinit from the InitList of the SysDal module.

c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./bin/Gpt_PBcfg.o:(.mcal_const_cfg+0x1c): undefined reference to `OSIF_Millisecond'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:90: bin/Bootloader.elf] Error 1
0 件の賞賛
返信
1 解決策
1,009件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

This is due to the OSIF related function being available under the "OsIf_rtd_fatfs.c" file, which is available under the SDHC stack:

"C:\nxp\S32DS.3.4\S32DS\software\PlatformSDK_S32XX_2022_03\stacks\sdhc\code\osif"

Since MemDal/Eep modules make reference to the SDHC stack, the compiler can take this reference. Once they are disabled, all references are lost, hence it is not finding them.

You could delete all MemDal references under SysDal, but still have enabled the modules for the SDHC reference.

Also, you could try and move these functions to a different file, but we understand that they may have several links that need to be accomplished. Care should be taken.

Please, let us know.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,010件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

This is due to the OSIF related function being available under the "OsIf_rtd_fatfs.c" file, which is available under the SDHC stack:

"C:\nxp\S32DS.3.4\S32DS\software\PlatformSDK_S32XX_2022_03\stacks\sdhc\code\osif"

Since MemDal/Eep modules make reference to the SDHC stack, the compiler can take this reference. Once they are disabled, all references are lost, hence it is not finding them.

You could delete all MemDal references under SysDal, but still have enabled the modules for the SDHC reference.

Also, you could try and move these functions to a different file, but we understand that they may have several links that need to be accomplished. Care should be taken.

Please, let us know.

0 件の賞賛
返信