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

Code size increase after update from 0.7 to 0.8 #20

Open
birkenfeld opened this issue Oct 6, 2021 · 1 comment
Open

Code size increase after update from 0.7 to 0.8 #20

birkenfeld opened this issue Oct 6, 2021 · 1 comment

Comments

@birkenfeld
Copy link

After upgrading, I observed a rather large increase in code size. I reduced my firmware up to a small example in https://github.com/birkenfeld/lcd-demo that does nothing but initialize the screen, and it still shows a significant difference:

0.7.2:
-rwxr-xr-x 1 gbr gbr 3412 Oct  6 08:40 firmware
0.8.1:
-rwxr-xr-x 1 gbr gbr 5224 Oct  6 08:40 firmware

Using Rust 1.55.0, the build target is thumbv7m-none-eabi, and the st7735-lcd dependency has default-features = false.

@sajattack
Copy link
Owner

I suspect this is related to the embedded-graphics dependency.

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