Search found 2 matches
- Tue Dec 29, 2020 6:01 pm
- Forum: General Discussion and Questions
- Topic: Why can MicroPython not use the ULP WAKE instruction
- Replies: 20
- Views: 12616
Re: Why can MicroPython not use the ULP WAKE instruction
I'm guessing that this is a silly question, but why can't esp32.enable_ulp_wakeup() take a Boolean to enable and disable the use of the ULP WAKE instruction? It would seem good to be able to turn it off as well as on, but I guess maybe when I start building real applications I might see why one wou...
- Sun Dec 20, 2020 2:53 pm
- Forum: General Discussion and Questions
- Topic: Why can MicroPython not use the ULP WAKE instruction
- Replies: 20
- Views: 12616
Re: Why can MicroPython not use the ULP WAKE instruction
Now, a big disclaimer; I haven't tested any of that. I'm going to have to leave that to you! :oops: Thanks, there is one mistake in the patch, it should be: +STATIC MP_DEFINE_CONST_FUN_OBJ_0(esp32_enable_ulp_wakeup_obj, esp32_enable_ulp_wakeup); I can confirm that the ULP wake-up works on patched f...