Closed BloodStainedCrow closed 1 year ago
The default build type is Release
. The release modes, Debug
and Release
, are documented in docs/buildAndProgram.md
, including the part about not fitting in flash.
As there is no trivial way to make Debug
builds fit the flash while also keeping all the parts that are relevant in that specific case, it's up to the person wanting to debug to choose what to leave out and to fine-tune the build to fit their needs.
@BloodStainedCrow If you need more help about this, please check our Discussions board, as this question may have already been asked. Feel free to open a new post if you can't find it.
Verification
Introduce the issue
When compiling InfiniTime with the buildType Debug using a devcontainer the compile fails because of the resulting size overflowing the available space.
Preferred solution
Ideally it should be possible to compile in Debug mode obviously, but if that is not possible removing it as an option (or at least not making it the default option) might prevent new contributers from being confused that the default compile fails.
Version
develop