Skip to content

chore: update all stubs to esp-flasher-stub v0.5.1#23

Merged
deadprogram merged 1 commit intotinygo-org:mainfrom
jgangemi:jae/upstream-s3-stub
Apr 13, 2026
Merged

chore: update all stubs to esp-flasher-stub v0.5.1#23
deadprogram merged 1 commit intotinygo-org:mainfrom
jgangemi:jae/upstream-s3-stub

Conversation

@jgangemi
Copy link
Copy Markdown
Contributor

@jgangemi jgangemi commented Apr 9, 2026

Summary

  • replace all 9 vendored stubs with upstream esp-flasher-stub v0.5.1 release artifacts
  • add tools/update-stubs.sh for automated stub downloads via go generate
  • add development docs to README for the go:generate workflow
  • fix golangci-lint warnings

Test plan

  • go test -v ./pkg/espflasher/... — all stubs load correctly, all tests pass
  • golangci-lint run ./... — zero issues

@deadprogram
Copy link
Copy Markdown
Member

@jgangemi according to https://github.com/espressif/esp-flasher-stub/blob/master/README.md:

This project is experimental and not yet ready for production use.

I just wonder if we should wait for the release? Alternately we could switch over entirely, which would mean that this PR should include the updated JSON for all of the currently supported processors.

What do you think?

@jgangemi
Copy link
Copy Markdown
Contributor Author

i'm going to defer to you on that. i don't have other hardware to test with. i can say this (and the other PRs, some of which were merged) work pretty reliably on the fork branch i've been pointing my projects at, although there still may be a few edge cases.

@deadprogram
Copy link
Copy Markdown
Member

Well, I would rather have a PR that switched all of them, if you please. I have several different processors/boards to test with.

@jgangemi jgangemi force-pushed the jae/upstream-s3-stub branch from 0f4ab53 to 12edf04 Compare April 11, 2026 15:08
@jgangemi
Copy link
Copy Markdown
Contributor Author

ok - i'll stick claude on it. 😺

@jgangemi jgangemi force-pushed the jae/upstream-s3-stub branch 2 times, most recently from 647614e to fbc528d Compare April 11, 2026 15:28
@jgangemi
Copy link
Copy Markdown
Contributor Author

done

@deadprogram
Copy link
Copy Markdown
Member

@jgangemi also please remove Claude as co-comitter, as per my previous comment. Thanks!

@jgangemi jgangemi force-pushed the jae/upstream-s3-stub branch 2 times, most recently from 2d4d187 to c588565 Compare April 11, 2026 16:20
@jgangemi jgangemi changed the title chore: update ESP32-S3 stub to esp-flasher-stub v2 chore: update all stubs to esp-flasher-stub v0.5.1 Apr 11, 2026
@deadprogram
Copy link
Copy Markdown
Member

@jgangemi can you please rebase this and resolve merge conflict? Thanks!

- replace all 9 vendored stubs with upstream release artifacts
- add tools/update-stubs.sh for automated stub updates via go generate
- add go:generate directive to stub.go
- add development docs to README
- fix golangci-lint warnings
@jgangemi jgangemi force-pushed the jae/upstream-s3-stub branch from c588565 to c623eb7 Compare April 12, 2026 22:26
@deadprogram
Copy link
Copy Markdown
Member

Thanks for the update @jgangemi now merging.

@deadprogram deadprogram merged commit 4496d1f into tinygo-org:main Apr 13, 2026
3 checks passed
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