Problem including Math.h to my project
Posted: Mon Dec 05, 2016 1:15 pm
Hello again,
I am using a STM32F746 board with chibiOS 16.1.0 ( accordign to release notes on chibios folder in eclipse)
I am trying to include the math library to my project and I have read in various post that all i need to do is "#include <math.h>" in my code as I would do regularly, however when I add this to thecode i get an "unresolved include" the same issue that the people in the threads I've read ran into...
in these threads it was suggested that I put: -lm in the Makefile, on the field "ULIBS ="...I did this and I am still getting the error. I tried including the folder "C:\ChibiStudio\tools\GNU Tools ARM Embedded\4.9 2015q3\arm-none-eabi\include" as suggested on another thread but this also didnt help.
could any help me figure out this issue?
I am using a STM32F746 board with chibiOS 16.1.0 ( accordign to release notes on chibios folder in eclipse)
I am trying to include the math library to my project and I have read in various post that all i need to do is "#include <math.h>" in my code as I would do regularly, however when I add this to thecode i get an "unresolved include" the same issue that the people in the threads I've read ran into...
in these threads it was suggested that I put: -lm in the Makefile, on the field "ULIBS ="...I did this and I am still getting the error. I tried including the folder "C:\ChibiStudio\tools\GNU Tools ARM Embedded\4.9 2015q3\arm-none-eabi\include" as suggested on another thread but this also didnt help.
could any help me figure out this issue?