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

The code consumes a significant amount of Stack and Heap memory! #40

Open
electrosaeed opened this issue Mar 16, 2024 · 0 comments
Open

Comments

@electrosaeed
Copy link

I'm using this library on STM32 and Keil. I encountered an issue when trying to generate QR codes above version 8. After some experimentation, I discovered that it requires additional Heap and Stack memory.
Currently, with 12KB of Stack and 4KB of Heap memory allocated, I am able to generate QR codes up to version 13. However, for higher versions, more memory is needed, which I currently lack. I attempted to set LOCK_VERSION to 14, but it did not resolve the issue.
Is there a way to optimize memory usage and reduce consumption?

photo_2024-03-16_12-45-38
This image is for version 13 on a thermal printer.

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

1 participant