-
Notifications
You must be signed in to change notification settings - Fork 911
Add a sample to read the partition table #627
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
Open
oyama
wants to merge
40
commits into
raspberrypi:develop
Choose a base branch
from
oyama:feature/extract-partition-table-info
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.
Open
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
01001fa
Add an example of extract and enumerate partition table information
oyama a0ceb2b
update comments
oyama d2883d1
Remove redundant attribute specifiers
oyama 1015067
Rename structs, specify partition family, remove magic numbers
oyama 8b87449
Changed partition table reads to be split into fixed-length field sec…
oyama c5aa4c1
Update flash/partition_info/partition_info.c
oyama 2496fe7
panic if the table cannot be retrieved
oyama 5681d71
fixed TYPO `patitions`
oyama 0f96a36
rename to match the partition struct
oyama 9bdba25
remove WORD_SIZE
oyama 7d9edfa
update comment
oyama 87eddec
remove unused define
oyama bbb1656
remove unused defined WORD_SIZE
oyama 8f3564d
Name unified to flags_and_permissions
oyama ee6d8d6
Unify pico-sdk header file includes to ""
oyama b463a69
Fix typo in comment: change "Reads a fixed size fields" to "Reads fix…
oyama 555ded5
Rename the position field in the partition table to “pos"
oyama 9bce48c
Changed function names to prevent misleading as if they were SDK APIs.
oyama b5c2fbe
Initialize `pt->partition_count = 0`
oyama 0889622
The fields of the partition table read are added `assert()`
oyama 8dd6b0e
Check the return code of `open_partition_table`
oyama b53dfbc
Define and use SECTOR_SIZE
oyama 4822ae3
Fix partition name work buffer length
oyama c5fd635
Mask the first bit of the partition name length field
oyama c88a23c
Add `has_partition` flag
oyama 869bf75
rename `open_partition_table` to `read_partition_table`
oyama 4005c6f
Use the predefined `FLASH_SECTOR_SIZE`
oyama 8d1d467
rename `has_partition` to `has_partition_table`
oyama ce5b409
Skip printing empty partitions
oyama d9909f9
Added printing of extra family IDs
oyama ce6dda8
Add `p->has_name`
oyama 7edee22
Changed default_family to be registered at `new`
oyama 1066f75
Unify alloc/free hierarchy
oyama b118961
Move `PARTITION_EXTRA_FAMILY_ID_MAX` to uf2_family_ids.h
oyama c37dcbe
Change `pos` to `pos_` in the block to avoid conflicts
oyama 9c19b3c
Fixed typo from `extra_family_id_and_name` to `extra_family_ids_and_n…
oyama cda403e
Removed redundant brackets
oyama a0e81bd
Move comment for `PARTITION_NAME_MAX`
oyama ff8d2b4
Utilize `p->has_name`. Add `p->has_id`
oyama 9eb7c33
Add sample extra family id to `pt.json`
oyama 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.