tinygo
tinygo copied to clipboard
rp2040: support dormant mode
With this, I can get sub 1mA draw during idle (866uA) on a Challenger RP2040 LoRa board (I have to manually put the embedded LoRa chip into deep sleep).
The machine API is not final - it assumes Pin wake, when RP2040 also supports RTC-wake from dormant.
Hello! I am also working on a project using tinygo involving the Challenger RP2040 lora device (it is very work-in-progress and incomplete but you can find it here) and I would greatly appreciate it if you could mark this pull request as ready for review so I can use it in my project! :smile: