I don't think it's those defines that are the problem - it's actually jshReset (I think?) that resets the pin state to an input if it was not defined.
Did the exact lines I gave you fix it? If so I'll commit them to GitHub.
Running test on ARM boards is normally not a requirement
I do occasionally run through the tests on a Raspberry Pi - while the architecture isn't quite the same, it's probably close enough that it would pick up most potential issues.
batteries life duration
Looking at the size of the voltage regulator, it's not going to be fantastic I'm afraid!
ESP8266
Support for this isn't finished yet. @JumJum's written a driver in JavaScript but hopefully I'll get proper support in the interpreter soon.
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.
I don't think it's those defines that are the problem - it's actually
jshReset
(I think?) that resets the pin state to an input if it was not defined.Did the exact lines I gave you fix it? If so I'll commit them to GitHub.
I do occasionally run through the tests on a Raspberry Pi - while the architecture isn't quite the same, it's probably close enough that it would pick up most potential issues.
Looking at the size of the voltage regulator, it's not going to be fantastic I'm afraid!
Support for this isn't finished yet. @JumJum's written a driver in JavaScript but hopefully I'll get proper support in the interpreter soon.