You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- program features - this is a list built from individual strings in the binary, that can be displayed (e.g. we will have one for UART stdio and one for USB stdio) in the SDK
248
247
- build attributes - this is a similar list of strings, for things pertaining to the binary itself (e.g. Debug Build)
249
248
250
-
Note it is my intention that things like MicroPython would include features for parts of the language/libraries they include.
251
-
252
-
This might not be as a feature string per se, but could be another aggregating list (features/attributes are well known)
253
-
but we can add another piece of binary info to name a list attribute that aggregates strings with a particular tag, so you
254
-
could trivially add "MicroPython libraries:" etc to the `picotool` output without changing the tool itself.
249
+
The binary information is self-describing/extensible, so programs can include information picotool is not aware of (e.g. MicroPython includes a list of in-built libraries)
255
250
256
251
### Pins
257
252
@@ -389,11 +384,6 @@ quotes, newlines etc you may have better luck defining via bi_decl in the code.
389
384
390
385
## Additional binary information/picotool features
391
386
392
-
### SDK version
393
-
394
-
Should add this; git revision in general is hard since the user may not have the SDK checked out from git, so we'll have to stick
395
-
a version number in a header
396
-
397
387
### Block devices
398
388
399
389
MicroPython and CircuitPython, eventually the SDK and others may support one or more storage devices in flash. We already
@@ -433,7 +423,7 @@ enum {
433
423
### USB device descriptors
434
424
435
425
Seems like tagging these might be nice (we just need to store the pointer to it assuming - as is often the case -
436
-
the descriptor is just a linear chunk of memory) ... I assume there is a tool out there to prettyify such a thing if picotool dumps the descriptor
426
+
the descriptor is just a linear chunk of memory) ... I assume there is a tool out there to prettify such a thing if picotool dumps the descriptor
0 commit comments