Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By jcmvbkbc
#15233
Kevin Uhlir (N0BEL) wrote:People say its slower, that may be, but I can get, for example, over 10,000 sin() calculations per second, which is well fast enough for what I'm working on.

It's slower (by factor of 12..13) only for the first time. When code gets to the FLASH mapping cache it runs as fast as from IRAM. If your loop is tight enough to fit into 32KBytes of FLASH cache it should be fast.
User avatar
By viccc
#15406 I want to use atan and sqrt
I rebuild compiler branch lx106-g++, but an error happens

build/app_app.a(user_main.o):(.irom0.text+0xe0): undefined reference to `sqrt'
build/app_app.a(user_main.o):(.irom0.text+0xe8): undefined reference to `atan'

Can you tell me the steps to use this functions?

Thanks