At the moment there's no per-platform .h file apart from platform_config.h - that could be an option?
I agree it's a shame to have loads of ESP8266 ifdefs in jsutils.h, but right now I think even if those moved, there would still be a bunch of stuff for jsException/jsError (which is used to get the error messages moved out of RAM).
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.
At the moment there's no per-platform
.h
file apart fromplatform_config.h
- that could be an option?I agree it's a shame to have loads of ESP8266 ifdefs in
jsutils.h
, but right now I think even if those moved, there would still be a bunch of stuff forjsException
/jsError
(which is used to get the error messages moved out of RAM).