Title: Add option to IntelHex.segments to split segments on alignment boundaries by sTywin · Pull Request #21 · python-intelhex/intelhex · GitHub
Open Graph Title: Add option to IntelHex.segments to split segments on alignment boundaries by sTywin · Pull Request #21 · python-intelhex/intelhex
X Title: Add option to IntelHex.segments to split segments on alignment boundaries by sTywin · Pull Request #21 · python-intelhex/intelhex
Description: In addition to finding contiguous occupied data addresses, it is often useful to be able to further split these segments based on an integer alignment, such as a flash page size or other block size. An optional alignment parameter is added to IntelHex.segments which allows any segments that span an integer multiple boundary of the alignment to be split into multiple sub-segments. The semantics of the returned list of ordered tuple objects is unchanged; that is, regardless of the given alignment parameter, all addresses will be traversed as contiguous segments. I have also extended the test_segments portion to add support for testing the alignment parameter without changing any of the existing tests.
Open Graph Description: In addition to finding contiguous occupied data addresses, it is often useful to be able to further split these segments based on an integer alignment, such as a flash page size or other block size...
X Description: In addition to finding contiguous occupied data addresses, it is often useful to be able to further split these segments based on an integer alignment, such as a flash page size or other block size...
Opengraph URL: https://github.com/python-intelhex/intelhex/pull/21
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c42e7a2d-7d2a-ed2c-4d77-82b744dd555b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E8AC:1230D0:61A5B7:847A88:698E2578 |
| html-safe-nonce | 203ef7f10a8aaa4851926e7ce794791f1e3667711ba997d5dfdc31e0a0e6af66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEFDOjEyMzBEMDo2MUE1Qjc6ODQ3QTg4OjY5OEUyNTc4IiwidmlzaXRvcl9pZCI6IjI1NTAyOTI5MTI4ODI0NjAwMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5779a0e54098c0edbb5401b3d7ebe0135245a71e47f4c915c89255f54096b8d3 |
| hovercard-subject-tag | pull_request:164925387 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-intelhex/intelhex/pull/21/files |
| twitter:image | https://avatars.githubusercontent.com/u/19879946?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19879946?s=400&v=4 |
| og:image:alt | In addition to finding contiguous occupied data addresses, it is often useful to be able to further split these segments based on an integer alignment, such as a flash page size or other block size... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d71262819a4a68a7786924c05495bfd40a7561e4258dd129ba36f53d667639a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-intelhex/intelhex git https://github.com/python-intelhex/intelhex.git |
| octolytics-dimension-user_id | 55888006 |
| octolytics-dimension-user_login | python-intelhex |
| octolytics-dimension-repository_id | 33128473 |
| octolytics-dimension-repository_nwo | python-intelhex/intelhex |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33128473 |
| octolytics-dimension-repository_network_root_nwo | python-intelhex/intelhex |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d904ac995eb43f93014fbdbcc9ae5878653c932 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width