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

Make dfu-util download :leave work #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhgndf
Copy link
Contributor

@rhgndf rhgndf commented Jan 9, 2025

With this change, the :leave within the download commands works, booting into the aioc fw.

@skuep
Copy link
Owner

skuep commented Jan 19, 2025

Thanks a bunch! Does it have any effect on the firmware itself? Do I need to modify linker scripts or something, because of the relocated vector table?

I just tried without your fix, and :leave does work anyways.. Can you explain?

@rhgndf
Copy link
Contributor Author

rhgndf commented Jan 20, 2025

I forgot to add that this is for convenience when BOOT0 is shorted. This makes it :leave boot into the firmware when even with BOOT0 high.

Absolutely nothing else is needed except for that #define

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