S32SDK LPTMR driver not linkable with IAR EW

cancel
Showing results for 
Search instead for 
Did you mean: 

S32SDK LPTMR driver not linkable with IAR EW

Jump to solution
128 Views
Contributor II

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

Labels (1)
0 Kudos
1 Solution
107 Views
Contributor II

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

View solution in original post

0 Kudos
1 Reply
108 Views
Contributor II

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

View solution in original post

0 Kudos