-
-
Notifications
You must be signed in to change notification settings - Fork 114
Improve hex merger #295
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
Improve hex merger #295
Conversation
Uses github.com/marcinbor85/gohex as additiona dependency
Since we have a proper hex merger now, let's fix the dummy tests We should also add some new tests (for overlapping sections, for example)
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
|
||
return utils.WriteFile(mergedSketchPath, strings.Join(sketch, "\n")) | ||
bytes := mem_merge.ToBinary(initial_address, last_address-initial_address, 0xFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This must only be executed if address space is continuous (otherwise we can get a huge file as result)
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
Replaced by arduino/arduino-cli#744 |
Fixes #286
WARNING: still doesn't work with Caterina based bootloaders (because of sections overlapping)