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

program too large for this chip; not getting -size full dump #4773

Open
scottfeldman opened this issue Mar 4, 2025 · 1 comment
Open

program too large for this chip; not getting -size full dump #4773

scottfeldman opened this issue Mar 4, 2025 · 1 comment

Comments

@scottfeldman
Copy link
Contributor

With v0.36.0, my program will not fit in flash, which is no problem, except I can't see what to trim because the -size full dump doesn't get printed.

$ tinygo build -target wioterminal -stack-size 8kb -size full runner.go
exit status 1: program too large for this chip (flash overflowed by 9052 bytes)
	optimization guide: https://tinygo.org/docs/guides/optimizing-binaries/

Here it would be nice to see the -size full output.

@deadprogram
Copy link
Member

Perhaps you can try to build for a target with more flash such as pico and get the output that way.

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

No branches or pull requests

2 participants