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

Remove dependency to FirmwareImage from flash_targets #189

Merged
merged 1 commit into from
May 31, 2022

Conversation

tpambor
Copy link
Contributor

@tpambor tpambor commented May 30, 2022

I am looking into using espflash as an API to flash a single binary file like the phy_init_data.bin.

Currently, the flash_targets depend on a FirmwareImage which requires to have loaded a valid ELF file. The FlashTarget is currently only used to get the entrypoint for the RamTarget. This PR makes the entrypoint specific to the RamTarget and makes the FlashTarget trait more generic for other use-cases.

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@jessebraham jessebraham merged commit 3a3f7a3 into esp-rs:master May 31, 2022
@tpambor tpambor deleted the flash-target branch June 10, 2022 21:48
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.

2 participants