The assembler module is designed to support handling of multiple binaries from everywhere (module or main code). We don't have too much experience with binaries, anyway my expection is that they are stored in memory in most cases. To be useful, the modul should be small.
The decision of storing in Flash is project specific. If somebody wants to copy binaries to flash, it would be helpful to have a function in the module for Flash handling. Some other functions like copy arrays to Flash may also be helpful.
In my project, this is not the case (yet?). Therefore I'm not asking for it. And I will not extend ASM module.
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.
Let me try with other words.
The assembler module is designed to support handling of multiple binaries from everywhere (module or main code). We don't have too much experience with binaries, anyway my expection is that they are stored in memory in most cases. To be useful, the modul should be small.
The decision of storing in Flash is project specific. If somebody wants to copy binaries to flash, it would be helpful to have a function in the module for Flash handling. Some other functions like copy arrays to Flash may also be helpful.
In my project, this is not the case (yet?). Therefore I'm not asking for it. And I will not extend ASM module.