Skip to content

How to use sleep / dormant #344

Answered by drakejest
drakejest asked this question in Q&A
Discussion options

You must be logged in to vote

I have not noticed immediately but for those also interested in these modes earl has instruction on how to do it here #345

Quoting him

In the short term I'm unfortunately occupied with other things, but to access the pico-extra sleep functions should be possible with some simple modifications to the core. (This is also for #344)

Basically, you will need to rebuild libpico.a to include the pico_sleep directory and add the proper include path to platform_inc to let the IDE fine the proper headers.

1. Add the pico_sleep line to the Cmakefile.txt:   https://github.com/earlephilhower/arduino-pico/blob/master/tools/libpico/CMakeLists.txt

2. Rebuild libpico.a by running make-libpico.sh  https:…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yaswanthsk04
Comment options

Answer selected by drakejest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants