Found a proper workaround for the issue. It is a simple matter of linking the startup file before the rest of the files. Here's a diff (commit numbers may be wrong because this is my fork):
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.
Found a proper workaround for the issue. It is a simple matter of linking the startup file before the rest of the files. Here's a diff (commit numbers may be wrong because this is my fork):
Here is the pull request:
https://github.com/espruino/Espruino/pull/1633
I'd also like to ask for you to look at this other pull request:
https://github.com/espruino/Espruino/pull/1632
It fixes an issue where requesting an open drain output (without pullups) ends up configuring the pullup regardless.
Thanks.