You have to compile Espruino for a precise target which is the same as your C englobing program. Espruino is actually compiled with various options and files which are generated by some python programs called by make. That, probably, means using some makefile changes as you are not just compiling Espruino as an fully autonomous interpreter. Adding your own libraries and main C function is yet not so obvious...
I have not, so far, attempted this.
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.
You have to compile Espruino for a precise target which is the same as your C englobing program. Espruino is actually compiled with various options and files which are generated by some python programs called by make. That, probably, means using some makefile changes as you are not just compiling Espruino as an fully autonomous interpreter. Adding your own libraries and main C function is yet not so obvious...
I have not, so far, attempted this.