Skip to content
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

Fixed skethbook+bootloader hex merger. #744

Merged
merged 3 commits into from Jun 12, 2020

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jun 8, 2020

Previous hex merger:

  • doesn't take into account .bin bootloaders
  • it may have problems if .hex data is not sorted by address.

This PR use a proper .hex parser and fix the above problems.

This PR should not introduce regressions, but testing is required.

Fix:
arduino/arduino-builder#295
arduino/arduino-builder#286

@cmaglie cmaglie added this to the 0.11.0 milestone Jun 8, 2020
@facchinm facchinm self-requested a review June 11, 2020 11:37
cmaglie and others added 3 commits June 11, 2020 16:33
Previous merger doesn't take into account .bin bootloaders and it may
have problems if .hex data is not sorted by address.
@cmaglie cmaglie merged commit c9868a0 into arduino:master Jun 12, 2020
@cmaglie cmaglie deleted the fix_hex_merger branch June 12, 2020 15:25
cmaglie added a commit to arduino/arduino-builder that referenced this pull request Jun 12, 2020
- Removed automatic '--relax' hack for compiles on Atmega2560 MCU
  arduino/arduino-cli#749

- Fixed skethbook+bootloader hex merger.
  arduino/arduino-cli#744

- Fixed race condition in legacy i18n.LoggerToCustomStreams
  arduino/arduino-cli#704

- Fixed path-relativization error when traversing different partitions
  arduino/arduino-cli#658

- Add macro during lib discovery phase
  arduino/arduino-cli#633

- legacy: Improved progress report from Compile
  arduino/arduino-cli#625
umbynos pushed a commit that referenced this pull request Jun 17, 2020
…at (#744)

* Fixed skethbook+bootloader hex merger.

Previous merger doesn't take into account .bin bootloaders and it may
have problems if .hex data is not sorted by address.

* output a merged sketch+bootloader bin file too

* Replace logger with utils.LogIfVerbose

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
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.

None yet

2 participants