Title: New Extended Address record type mode saving in 'write_hex_file' function by fernandez85 · Pull Request #41 · python-intelhex/intelhex · GitHub
Open Graph Title: New Extended Address record type mode saving in 'write_hex_file' function by fernandez85 · Pull Request #41 · python-intelhex/intelhex
X Title: New Extended Address record type mode saving in 'write_hex_file' function by fernandez85 · Pull Request #41 · python-intelhex/intelhex
Description: Hello, I've finally pushed my changes, which will solve the problem described by me here: #40 There is new parameter 'ext_addr_mode' for 'write_hex_file', which will handle the issue in following way. ext_addr_mode='linear' (default) - this is old behavior, it will force to use Extended Linear Address records, so it's backward compatible ext_addr_mode='segment' - this option forces to use Extended Segment Address records, will throw exception, when data is to big to fit 1MB address space or Starting Linear Address is defined ext_addr_mode='auto' - this option will automatically detect which mode to use, basing firstly on Starting Address record type, secondarily (when there is no Starting Address record) on final data length, will throw exception like in point 2 (whenever 'segment' mode is negotiated). I did the implementation in few days, but I had problem to manage UnitTest for this change. I hope everything is OK there.
Open Graph Description: Hello, I've finally pushed my changes, which will solve the problem described by me here: #40 There is new parameter 'ext_addr_mode' for 'write_hex_file', which will handle the ...
X Description: Hello, I've finally pushed my changes, which will solve the problem described by me here: #40 There is new parameter 'ext_addr_mode' for 'write_hex_file', wh...
Opengraph URL: https://github.com/python-intelhex/intelhex/pull/41
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:b733073c-7d29-2098-5fc5-9a0c51680698 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8598:ACCB0:34F721:49920A:698DEE87 |
| html-safe-nonce | 0dc1c512c8d777b0a108f9adaf7534cd4cbec136747b0e5d9f2beeead95261f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTk4OkFDQ0IwOjM0RjcyMTo0OTkyMEE6Njk4REVFODciLCJ2aXNpdG9yX2lkIjoiMjU1NjUxNTcwMjAxOTA1OTMzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c9167086486cbb9bf6e48b7282613c74ada0cfd4911c10d57c8e496dd3731f0 |
| hovercard-subject-tag | pull_request:429140591 |
| 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/41/files |
| twitter:image | https://avatars.githubusercontent.com/u/8377386?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8377386?s=400&v=4 |
| og:image:alt | Hello, I've finally pushed my changes, which will solve the problem described by me here: #40 There is new parameter 'ext_addr_mode' for 'write_hex_file', which will handle the ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 929d0ce8b653d60df0698366d7e9012f9423ea1bace40816e16e5b007242aae4 |
| 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 | 143e58641f5eb460a02eda3a18cc1ef28e8c5188 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width