Closed will-v-pi closed 2 weeks ago
I have zero knowledge about this "universal" UF2 stuff, but why does the first part of your example above say both "family ID 'rp2040'" and "target chip: RP2350" ? :thinking:
I have zero knowledge about this "universal" UF2 stuff, but why does the first part of your example above say both "family ID 'rp2040'" and "target chip: RP2350" ? 🤔
The actual "universal binary" (which is just duplicated twice in the "universal UF2" with different family IDs so it gets loaded onto rp2040 or rp2350) has metadata blocks for RP2040, RP2350-Arm and RP2350-RiscV - currently picotool info
just displays information about the "best" block found, which will be the RP2350-Arm block. We should probably add support for displaying info about all metadata blocks, rather than just the "best" block it chooses, but that's a separate issue
BTW, on the current develop
branch of picotool:
$ grep "[fF]amily id" main.cpp | wc -l
13
$ grep "[fF]amily ID" main.cpp | wc -l
3
For consistency, should those occurrences of "family id" be changed to "family ID" ?
This adds support for UF2s with multiple families to picotool info, and also throws a warning that it is only using the first family for other commands.
For example output from the sample hello_world.uf2