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

src/CMakeLists.txt: use iHEX format for mcuboot image creation #256

Merged
merged 3 commits into from
Jun 6, 2022

Conversation

ildar
Copy link

@ildar ildar commented Apr 1, 2021

for better control of addresses used by img/fw

  • fix typo (RECOVERYY)

@ildar
Copy link
Author

ildar commented Apr 14, 2021

please note two fixes this PR brings

@JF002
Copy link
Collaborator

JF002 commented Apr 23, 2021

I thought that imgtool.py and adafruit-nrfutilonly worked with .bin file. Could you confirm they both work as expected with .hex files?
If they do, do the DFU file contain the .hex file or does adafruit-nrfutil conver the hex in bin for the DFU zip file?

I think some companion app (gadgetbridge, amazfish, siglo) expect a .bin file for the OTA functionality, and could be confused if they found a .hex file instead.

@JF002 JF002 added the question/discussion This is just a question, for ex. not an issue or a feature request label Apr 23, 2021
@ildar
Copy link
Author

ildar commented May 2, 2021 via email

@JF002
Copy link
Collaborator

JF002 commented May 10, 2021

And NRFutil flavors accept HEX and convert them to BIN as required by DFU uploaders.

Does this applies to all companion apps (Gadgetbridge, Amazfish and Siglo) ? I'm not sure they all use code from NRFutil...

@ildar
Copy link
Author

ildar commented May 10, 2021 via email

@ildar
Copy link
Author

ildar commented May 24, 2021 via email

Ildar Mulyukov added 3 commits September 29, 2021 10:35
fixes cases when git is missing in the build system
for better control of addresses used by img/fw
+ fix typo (RECOVERYY)
@ildar
Copy link
Author

ildar commented Sep 29, 2021 via email

@geekbozu
Copy link
Member

geekbozu commented Oct 3, 2021

Does switching to iHEX actually give is any benefits here? The other changes look good thanks for updating this.

@ildar
Copy link
Author

ildar commented Nov 8, 2021 via email

@geekbozu
Copy link
Member

Thanks for the info, I am further un-opinionated, So I await my fellow devs @JF002 and @Avamander opinions :)

@Riksu9000 Riksu9000 added this to the 1.10.0 milestone May 13, 2022
@JF002
Copy link
Collaborator

JF002 commented Jun 6, 2022

We talked about this PR in #1051 and my concerns have been answered so... we can merge this PR.
Thanks @ildar for this PR, and my apologies for the time it took to finally accept it !

@JF002 JF002 merged commit 7bc692e into InfiniTimeOrg:develop Jun 6, 2022
@ildar
Copy link
Author

ildar commented Oct 11, 2022 via email

@ildar
Copy link
Author

ildar commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question/discussion This is just a question, for ex. not an issue or a feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants