Skip to content

Add merged binary creation#180

Draft
tototo31 wants to merge 3 commits intoGhostESP-Revival:Development-dekifrom
tototo31:provide-merged-bins
Draft

Add merged binary creation#180
tototo31 wants to merge 3 commits intoGhostESP-Revival:Development-dekifrom
tototo31:provide-merged-bins

Conversation

@tototo31
Copy link
Copy Markdown
Collaborator

  • Added support for detecting ESP-IDF version 5.5.1.
  • Improved path checking for ESP-IDF directories.
  • Implemented merged binary creation using idf.py merge-bin, excluding it from ZIP file packaging.
  • Updated comments for clarity on new functionality.

What's new (Author - fill this out)

  • Added support for detecting ESP-IDF version 5.5.1.
  • Improved path checking for ESP-IDF directories.
  • Implemented merged binary creation using idf.py merge-bin, excluding it from ZIP file packaging.
  • Updated comments for clarity on new functionality.

Verification (Author - fill this out)

  • I have tested Primary device(s) (list exact HW + config):
  • I have tested potentially affected devices (and/or list potential affected devices not available to you):
  • I have wrapped device specific code with #ifdef CONFIG_... or similar: [ ] Yes / [ ] N/A
  • I have updated Hugo Docs with any new or changed info for end users: [ ] Yes / [ ] N/A

Linked Issues

Checklist (Reviewer - don't fill this out)

  • Code builds, flashes, and feature verified with no functional issues on listed device(s)
  • Changes reviewed for unintended impact on other devices/targets

tototo31 added 3 commits November 27, 2025 10:57
- Added support for detecting ESP-IDF version 5.5.1.
- Improved path checking for ESP-IDF directories.
- Implemented merged binary creation using `idf.py merge-bin`, excluding it from ZIP file packaging.
- Updated comments for clarity on new functionality.
- Implemented functionality to create a merged binary after a successful build using `idf.py merge-bin`.
- Added console output to inform users of the process and any potential issues with file creation.
- Enhanced user feedback in the flash console for better debugging and status tracking.
- Implemented functionality to create a merged binary using `idf.py merge-bin` in `compile_all.yml`, `compile_prerelease.yml`, and `custom_build.yml`.
- Added checks and console output to inform users about the success or failure of the merged binary creation.
- Updated artifact packaging to include the merged binary if it exists.
@tototo31 tototo31 changed the title Build scripts - add merged binary creation Add merged binary creation Nov 27, 2025
@tototo31
Copy link
Copy Markdown
Collaborator Author

All build scripts still produce .zip and now also produce merged files. Unmerged files should be removed as soon as we get the various flashers updated to a state where they can use the merged bin

@tototo31
Copy link
Copy Markdown
Collaborator Author

I have not yet been able to test the github workflows as the dev branch this is based on has some failing builds. Will test once thats resolved

@tototo31 tototo31 self-assigned this Nov 27, 2025
@tototo31 tototo31 added the enhancement New feature or request label Nov 30, 2025
@tototo31
Copy link
Copy Markdown
Collaborator Author

Ill need to sort this out after the holidays but ill take you up on that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide merged bins

1 participant