I was playing around with the x7 ports for STM32. I tried to debug on my Nucleo H743 board so I ssued the command:
Code: Select all
make BOARD=NUCLEO_H743ZI DEBUG=1 -j4
Code: Select all
build-NUCLEO_H743ZI/py/objfloat.o: In function `mp_obj_float_divmod':
/home/badi/projekte/sw/embedded/micropython/micropython/ports/stm32/../../py/objfloat.c:223: undefined reference to `copysign'
/home/badi/projekte/sw/embedded/micropython/micropython/ports/stm32/../../py/objfloat.c:234: undefined reference to `copysign'
build-NUCLEO_H743ZI/py/objfloat.o: In function `mp_obj_float_binary_op':
/home/badi/projekte/sw/embedded/micropython/micropython/ports/stm32/../../py/objfloat.c:287: undefined reference to `copysign'
build-NUCLEO_H743ZI/py/modmath.o: In function `copysign_func':
/home/badi/projekte/sw/embedded/micropython/micropython/ports/stm32/../../py/modmath.c:140: undefined reference to `copysign'
make: *** [Makefile:519: build-NUCLEO_H743ZI/firmware.elf] Fehler 1
If I compile for NUCLEO_F767ZI (an other board which has double precision math library libm_dbl) i get this error, too.
Any hints?