I have attempted to add the around function to ulab, and to that end, I call math's round as MICROPY_FLOAT_C_FUN(round) https://github.com/v923z/micropython-ul ... ise.c#L156 . This works on the unix port, but I can't compile for the pyboard, and get a linker error
Code: Select all
LINK build-PYBV11/firmware.elf arm-none-eabi-ld: build-PYBV11/code/vectorise.o: in function `vectorise_around': vectorise.c:(.text.vectorise_around+0x76): undefined reference to `roundf' make: *** [Makefile:582: build-PYBV11/firmware.elf] Error 1
Can someone shed some light on the problem?