Was trying to exercise a module by using a button press on my Olimex Gateway board. This board has a button, led, sd card, and Ethernet plug, a really nice board by the way. I digress, the button is connected to D34 but when I run the following code, it crashes and resets.
I have tried running this code with both espruino_1v92_esp32.bin and espruino_1v94.23_esp32.bin firmware and they both crash, although espruino_1v94.23_esp32.bin seems to handle it much better.
I am including the core dump.
All help is appreciated.
FYI, there is a "d" in front of "igitalRead", my mouse jumped.
Could you tell us what is the Olimex reference ? or give us the link to the schematic?
This is a known issue...
Using D0 - the inbuilt flash button, it does not crash straight away. I suspect a stsck issue, but so far increasing the stsck size has had no effect..
We could throw an exception if you try and watch D0 for now? it'd be easy, and might save people some trouble!
It fails on all pins after a while. It used to work, but it seems that recent timer changes might have effected the Irq handling on gpios. We have a similar crash with pin pulse too...
All a work in progress.. @JumJum and I are the only ones looking at this - and this is in our spare time.
Yes, totally. What you two have done so far is awesome :)
@Jean-Philippe_Rey - Link to Schematic follows:
@Wilberforce, you da man. Thank you for any and all help
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem