Skip to content

LGFX stuff and build size #362

Answered by tobozo
zensimilia asked this question in Q&A
Feb 27, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

hello, thanks for your feedback 👍

When LGFX_AUTODETECT is set, the v0/v1 units are compiled in every situation indeed, but they are cached so it only happens once, and only the platform components are attached to your binary.

You can however reduce the build size by disabling autodetect (e.g don't use #define LGFX_AUTODETECT) and setting up your own configuration (see user_settings example).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zensimilia
Comment options

@tobozo
Comment options

tobozo Feb 27, 2023
Collaborator

@zensimilia
Comment options

Answer selected by zensimilia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants