If you were able to change the build such that math.h functions were pulled in as required I bet it'd make a lot of people very happy! Also you might be able to change the compiler flags to let it take raw string literals?
Worth adding that right now we have to tell GCC to use softfp so that the argument passing of floats works when calling back to the Espruino interpreter. But you might be able to get it to use softfp for arg passing while still using hardfp instructions - I'm not sure!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
nice! I should add that the compiler itself is at https://github.com/gfwilliams/EspruinoCompiler if you decide you want to try fiddling around with that.
If you were able to change the build such that math.h functions were pulled in as required I bet it'd make a lot of people very happy! Also you might be able to change the compiler flags to let it take raw string literals?
Worth adding that right now we have to tell GCC to use softfp so that the argument passing of floats works when calling back to the Espruino interpreter. But you might be able to get it to use softfp for arg passing while still using hardfp instructions - I'm not sure!