Skip to content

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

Closed
wants to merge 5 commits into from
Closed

Conversation

facchinm
Copy link
Member

@facchinm facchinm commented Sep 20, 2018

Fixes #286

WARNING: still doesn't work with Caterina based bootloaders (because of sections overlapping)

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)
@facchinm facchinm added this to the next milestone Sep 20, 2018
@facchinm facchinm mentioned this pull request Sep 20, 2018
@ArduinoBot
Copy link
Contributor

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/arduino-builder/arduino-builder-295.zip

ℹ️ To test this build:

  1. Replace arduino-builder binary (you can find it where you installed the IDE) with the provided one


return utils.WriteFile(mergedSketchPath, strings.Join(sketch, "\n"))
bytes := mem_merge.ToBinary(initial_address, last_address-initial_address, 0xFF)
Copy link
Member Author

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)

@ArduinoBot
Copy link
Contributor

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/arduino-builder/arduino-builder-295.zip

ℹ️ To test this build:

  1. Replace arduino-builder binary (you can find it where you installed the IDE) with the provided one

@facchinm
Copy link
Member Author

facchinm commented Jun 8, 2020

Replaced by arduino/arduino-cli#744

@facchinm facchinm closed this Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

with_bootloader issues
2 participants