esp32 interrupt support? #4805
IngwiePhoenix
started this conversation in
General
Replies: 1 comment 1 reply
-
Most other microcontrollers we support do have pin interrupt support. It's mainly the Xtensa ones (ESP32, ESP8266, etc) that aren't supported. A popular board that's well supported by TinyGo is the Raspberry Pi Pico, but there are several others (from Arduino and Adafruit) that are well supported. As for Xtensa interrupt support: I tried it, spent a few days on it, but couldn't get it to work. It's a weird architecture with very little documentation. It's possible, but not high on my priority list. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on a little assignment in class. Basically, four buttons, four LEDs - and because I have been somewhat hyper-invested in go lately, I wanted to use TinyGo to do it.
Having sorted out my build, I can now freely work on the implementation. Well, that was untill:
tinygo/src/runtime/interrupt/interrupt_xtensa.go
Line 35 in 8c54e3d
What a bummer...
Is there any roadmap or plan to add this? And, if not the esp32, which boards do have working interrupts? I am not particularily tied to that chip - it is my first MCU-dabbling basically ever - I'd rather go and buy another MCU that I can use to work with and do stuff rather than fussing about unimplemented details. x)
Thank you and kind regards,
Ingwie
Beta Was this translation helpful? Give feedback.
All reactions