Search found 32 matches
- Sat Mar 24, 2018 1:18 am
- Forum: ESP8266 SDK
- Topic: Linking against the math library
- Replies: 1
- Views: 959
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(...
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...