-
Notifications
You must be signed in to change notification settings - Fork 11
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
Wireless & Bluetooth Support #18
Open
Gadgetoid
wants to merge
22
commits into
main
Choose a base branch
from
feature/wireless
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+953
−49
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gadgetoid
force-pushed
the
feature/wireless
branch
4 times, most recently
from
November 6, 2024 16:45
d00f7bc
to
db7bdf5
Compare
Gadgetoid
force-pushed
the
feature/wireless
branch
3 times, most recently
from
November 26, 2024 22:42
16657c1
to
deefd4d
Compare
If we're bringing in lwip and networking, this variant might as well support CYW43.
PPP does not use socket extended state, and should be added automatically in the networking module.
Also a quick cleanup of the lte module code.
Should prevent builds from self destructing when a user saves a file.
Since both PPP2 or Plasma2350 have a SP/CE connector, enable WiFi in all cases. Additionally enable PPP in all cases. Finally, drop the non-PSRAM build. (TBC if it returns, since it's less RAM but faster.)
Replace our experimental configs with the board config(s) from the (as yet unmerged) Pico 2 W changes branch.
Gadgetoid
force-pushed
the
feature/wireless
branch
from
January 14, 2025 14:08
ba2cf65
to
4de68aa
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch builds MicroPython against master with a combination of our PSRAM patches and the upcoming changes to the wireless driver in micropython/micropython#16057
Somewhat at our request, and because we threw a wireless module out into the world, the cyw43 driver has undergone some changes for more readily customised pins, and the MicroPython bindings for the driver now include the ability to specify pins at runtime.
Configuring pins is accomplished by passing them to
network.WLAN
like so:For example with an RM2 connected to the SP/CE connector on Pico Plus 2 (non wireless) you would use:
This replaces our
wireless.wlan_set_pins
hack and removeswlan_set_pio_clock_divisor
(which is of debatable utility anyway).Simple LTE bringup: