ghubcoder / micropython-pico-deepsleep

MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
Other
30 stars 2 forks source link

Bulding from source problem #11

Closed davefes closed 11 months ago

davefes commented 11 months ago

Following README.md

git clone https://github.com/ghubcoder/micropython-pico-deepsleep.git
cd micropython-pico-deepsleep/
make -C mpy-cross/
git submodule update --init -- lib/pico-sdk
git submodule update --init -- lib/pico-extras
git submodule update --init -- lib/tinyusb
cd ports/rp2sleep
make -j4

cd ports does not show /rp2sleep

It suggests doing: git submodule update --init

which I did and then on re-doing the next 3 submodule calls says:

git submodule update --init -- lib/pico-sdk
error: pathspec 'lib/pico-sdk' did not match any file(s) known to git
git submodule update --init -- lib/pico-extras
error: pathspec 'lib/pico-extras' did not match any file(s) known to git
git submodule update --init -- lib/tinyusb
error: pathspec 'lib/tinyusb' did not match any file(s) known to git

then cd/ports/rp2and make -j4

Does the resulting firmware.uf2 actually have deepsleep()' in it?

Thanks.

davefes commented 11 months ago

Oops ... I see these changes have been merged.