Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Errors when linking math lib.
#1
Hello,
I try to import a Keil project published by Semtech (firmware of the LoRa SX1261 evaluation kit).
I almost succeeds, but face 5 remaining errors when the linker searches for <math.h> following functions: rint, round, floor, ceil.
I tried to change several options in "Linker setttings/Library selection", but without success.
Please could you help.
I attach the .ebp project with this post (STM32L476RG HAL source files has been removed to limit zip file size to less than 1Mb).
Thanks and regards
Pascal


Attached Files
.zip   NUCLEO_476RG.zip (Size: 703.43 KB / Downloads: 1)
Reply
#2
Need to add -lm in linker setting.
Reply
#3
Well done Mink !
This option perfectly works.
Thanks for your support.
Pascal
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)