Pirates brought some loot... 🤔
-
... and what was the first thing I did? 😆
@Daft_Freak you might like to take a look at https://github.com/antirez/zx2040 should be possible to getting running/ported to the tufty2350
-
... and what was the first thing I did? 😆
@Daft_Freak that runs impressively smoothly - these things are pretty darn speedy!
-
@Daft_Freak that runs impressively smoothly - these things are pretty darn speedy!
@ahnlak It's a hacked up version of the RP2040 port so it's pretty optimised...
-
... and what was the first thing I did? 😆
...and now I'm realising that without the default firmware, I have no way to turn the thing off... 🤔
-
...and now I'm realising that without the default firmware, I have no way to turn the thing off... 🤔
@Daft_Freak the judicious use of a 20lb sledgehammer should work as an off switch
-
...and now I'm realising that without the default firmware, I have no way to turn the thing off... 🤔
@Daft_Freak Hmm. We could probably do with a C boilerplate that includes that reset button shenanigans.
-
@Daft_Freak Hmm. We could probably do with a C boilerplate that includes that reset button shenanigans.
@rebelmike I probably need to figure out this sleep stuff for my own purposes anyway.
(Last night I just hacked out my init code and uh, pretended it was off)
-
@rebelmike I probably need to figure out this sleep stuff for my own purposes anyway.
(Last night I just hacked out my init code and uh, pretended it was off)
@Daft_Freak Just been reading through the powman code that manages this.
Interesting that when "off" the RP2 is set to low power mode, but as far as I can see not using the LPOSC for an alarm timer. Wake always comes from a button press or interrupt from the RTC.
Looks like they were trying different options https://github.com/pimoroni/tufty2350/blob/main/modules/c/powman/powman.c#L141
Anyway - looks like power "off" would be accomplished by doing https://github.com/pimoroni/tufty2350/blob/main/modules/c/powman/powman.c#L398
-
@Daft_Freak Just been reading through the powman code that manages this.
Interesting that when "off" the RP2 is set to low power mode, but as far as I can see not using the LPOSC for an alarm timer. Wake always comes from a button press or interrupt from the RTC.
Looks like they were trying different options https://github.com/pimoroni/tufty2350/blob/main/modules/c/powman/powman.c#L141
Anyway - looks like power "off" would be accomplished by doing https://github.com/pimoroni/tufty2350/blob/main/modules/c/powman/powman.c#L398
@rebelmike Hmm, since the relevant code is in a constructor, just dropping that file in a project works as a quick fix.
-
Pirates brought some loot... 🤔
@Daft_Freak thinking of finally ordering these now (obviously too late for FOSDEM...) you having fun with them? any preferences?