Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MicroPython: Early wakeup GPIO latch module. #480

Merged
merged 8 commits into from
Aug 10, 2022
Merged

Conversation

Gadgetoid
Copy link
Member

No description provided.

@Gadgetoid Gadgetoid force-pushed the feature/wakeup branch 17 times, most recently from fb49563 to e4f245a Compare August 8, 2022 10:49
Gadgetoid and others added 8 commits August 8, 2022 12:05
Avoid truncating Lux to uint16_t.
Assert the VSYS_EN pin before copying SRAM and zeroing BSS.

Saves ~142ms of startup time before GPIO input is latched and pin is asserted.
Speed up MicroPython Pico W startup to init_priority(101) execution from ~160ms to ~32ms.
@Gadgetoid Gadgetoid force-pushed the feature/wakeup branch 5 times, most recently from 9098cc0 to 42a29db Compare August 9, 2022 13:12
@Gadgetoid
Copy link
Member Author

Looks like make BOARD=PICO_W -C ports/rp2 submodules is not working here and I can't figure out why. Have reverted to our own manual submodule checkout which pulls down a load of stuff we don't necessarily want, but since it's cached anyway... not really a huge deal.

@Gadgetoid Gadgetoid merged commit 4e005c0 into main Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants