-
Notifications
You must be signed in to change notification settings - Fork 965
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
Add Wi-Fi firmware partition support for Pico 2 W #1969
Open
will-v-pi
wants to merge
19
commits into
raspberrypi:develop
Choose a base branch
from
will-v-pi:pico2-w-pts
base: develop
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.
+507
−10
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
a4d28d2
Add rom_pick_ab_update_partition function
will-v-pi f35fdb9
Fix TBYB flag - it's bool, not uint32_t
will-v-pi 8d258a8
Add partitions for Wi-Fi firmware
will-v-pi 8e570b9
Use common scope var for PICO_CYW43_DRIVER_CURRENT_PATH, and remove w…
will-v-pi 0e26b2b
Use FLASH_SECTOR_SIZE instead of 4096
will-v-pi b3f0071
Attempt to fix bazel build in same way as pico_flash works with pico_…
will-v-pi cf61a17
Throw FATAL_ERROR when using RP2040
will-v-pi 9d9e1f9
Add new sources to bazel filegroup
will-v-pi 7ba5fa9
Add Bazel todo referencing #2055
will-v-pi 639e0c4
Improve rom_pick_ab_update_partition description
will-v-pi 80fc3ce
Fix docs typos, add \see, and rename brief
will-v-pi 85f1105
Change partition ID to 0x776966696669726d (wififirm) and use data UF2…
will-v-pi cea9802
Review feedback
will-v-pi 1e7e0c7
Fix Risc-V build
will-v-pi f2511a9
Rename CYW43_USE_PARTITION_FIRMWARE->CYW43_USE_FIRMWARE_PARTITION and…
will-v-pi 1e8324a
Use hard copies of the firmware for Risc-V builds
will-v-pi 9730601
Requires increased bootrom stack size on Risc-V
will-v-pi cfd0c34
pico_use_partition_firmware -> pico_use_wifi_firmware_partition
will-v-pi def9608
Add note to rom_pick_ab_partition to see rom_pick_ab_update_partition…
will-v-pi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arguably these are not addresses. i would leave the leading * off and use in code references
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically they are addresses, eg the version downgrade erase address (ie the address in flash to erase) is stored at 0x400e0338
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Page 31 of the RP2350 datasheet says
BOOTRAM_BASE 0x400e0000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, more of a stylistic thing I guess; it's weird to see a CONSTANT as a lhs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but i'm ok