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
Solved! Go to Solution.
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
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