Question
stm32f030 aeabi_uidiv undefined reference
Posted on July 13, 2018 at 00:12
hi,
I try to compile a minimum program using stm driver libs. but I can't compile without error about '__aeabi_uidiv' from line 1083 of stm32f0xx_rcc.c : pllclk = (HSE_VALUE / prediv1factor) * pllmull;
I think the problem come from the linker and I have added path of the libgcc.a in ld flags in my makefile
LIBGCCARM = ${GCCARMPATH}/lib/gcc/arm-none-eabi/${GCCARMVERSION}/${GCCARMARCH}LFLAGS = -L${LIBGCCARM} \
-lgcc \ -nostartfiles -T$(LKR_SCRIPT)the linker find correctly the lib, but the error occurs always...
thanks for your help
