S32SDK LPTMR driver not linkable with IAR EW

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

S32SDK LPTMR driver not linkable with IAR EW

ソリューションへジャンプ
802件の閲覧回数
TomLightning
Contributor III

Hi,

I have developed a project for the S32K142 with the S32 Design Studio. In this project I'm using certain drivers from the S32SDK. Now I'm trying to export this project into a IAR Embedded Workbench project by using the example project for the S32K142 included in the SDK as base. I added all necessary source files and the include paths for the header files as well.

Everytime I try to build the project I get the following errors during the linking process:

Error[Li005]: no definition for "__aeabi_llsl" [referenced from P:\Desktop\imported\s32k142_iar_template\Debug_FLASH\Obj\lptmr_driver.o]

Error[Li005]: no definition for "__aeabi_uldivmod" [referenced from P:\Desktop\imported\s32k142_iar_template\Debug_FLASH\Obj\lptmr_driver.o]

When I comment the following line in main.c the project is build successfully:

LPTMR_DRV_Init(INST_LPTMR1, &lpTmr1_config0, false);

Does anyone have an advice for me?

Best regards

Tom

ラベル(1)
0 件の賞賛
1 解決策
781件の閲覧回数
TomLightning
Contributor III

I was able to fix that problem with the following two options:

Linker->Library->activate "Automatic runtime library selection"

Linker->Extra Options->Ensure that "--no_library_search" is not present in the command line options

Tom

元の投稿で解決策を見る

0 件の賞賛
1 返信
782件の閲覧回数
TomLightning
Contributor III

I was able to fix that problem with the following two options:

Linker->Library->activate "Automatic runtime library selection"

Linker->Extra Options->Ensure that "--no_library_search" is not present in the command line options

Tom

0 件の賞賛