InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Support selection of applications or watchfaces at build time to cut flash usage

Open git4Chub opened this issue 9 months ago • 1 comments

Verification

  • [x] I searched for similar issues (including closed issues) and found none was relevant.

Introduce the issue

I recently add a lot of new characters into font set which make internal flash space nearly full, and I want to cut some unlikely used applications or watchfaces to save flash space.

Although I tried compile parameter "-DENABLE_USERAPPS" to select the apps I need, the internal flash occupation do not decrease.

Preferred solution

support some compile parameter to select applications or watchfaces at build time and cut flash usage

Version

v1.15.0

git4Chub avatar Apr 13 '25 01:04 git4Chub

The compile time parameter works fine for me, are you sure it's applying properly? If you build with say just stopwatch selected, does the build only have the stopwatch app when you run it?

Might be worth cleaning the CMake build cache as well

mark9064 avatar Apr 18 '25 20:04 mark9064

The build time selection feature definitely works for me and the flash decreases, so I'm going to close this for now. Feel free to re-open if you're still having issues

mark9064 avatar Jun 28 '25 14:06 mark9064