Search found 32 matches

by Pato
Sat Mar 24, 2018 1:18 am
Forum: ESP8266 SDK
Topic: Linking against the math library
Replies: 1
Views: 959

Linking against the math library

Hello, I'm trying to build the blinky example where I added a simple cos() and included math.h, with a toolchain based on the esp-open-sdk toolchain, and using the ESP8266_NONOS_SDK-2.2.0. However it fails at linking stage because of the cos() with errors like these: .../xtensa-lx106-elf/lib/libm.a(...
by Pato
Sat Mar 24, 2018 1:02 am
Forum: ESP8266 SDK
Topic: about using math
Replies: 6
Views: 1836

Re: about using math

Hey, @AgentSmithers: Indeed a kind of last resort solution would be to re-write the math functions (e.g. with Taylors series approximations, it's in the idea of what you proposed :) ) @tinhaode: did you managed to fin a solution ? I'm also trying to experiment with math functions, but I got linker e...

Go to advanced search