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

General CMake cleanup #635

Conversation

stellar-aria
Copy link
Collaborator

This does some cleanup of the CMake build a bit and makes the built-in firmware semver depend on CMake project version for a single consistent source.

There is now a MAINTAINER_MODE option to enable the absolute glut of warnings we actually have lurking about. -fanalyzer in particular has quite a bit to say about some uninitialized variables that get used in places...

There should be no changes to the actual outputted firmware.

Please double check that firmware size is consistent and has not changed, if it has I'll revert the built-in CMake LTO removal (which in theory was getting overridden anyways)

@PaulFreund
Copy link
Collaborator

I started testing and right now for the Release build

C:\Data\prj\DelugeFirmware\Official\toolchain\win32-x86_64\arm-none-eabi-gcc\bin\arm-none-eabi-nm.exe: C:/Data/prj/DelugeFirmware/Official/build/Release/deluge.elf: no symbols

It seems we have less symbols in our elf file now, not yet sure which change is the reason

@PaulFreund
Copy link
Collaborator

Unfortunately right now this change costs me 3-5 Voices in the pure synth voice test

@PaulFreund
Copy link
Collaborator

At least 3 of them are down to

    LINKER:--sort-common
    LINKER:--sort-section=name

@stellar-aria stellar-aria force-pushed the build-improvement-release branch from bf05372 to b8c1de4 Compare October 23, 2023 16:35
@PaulFreund
Copy link
Collaborator

Still 1-2 Voices I'd like to account for, need more investigation. Raw rendering seems to be the same speed

@PaulFreund PaulFreund merged commit c3f1d36 into SynthstromAudible:release/1.0 Oct 24, 2023
@stellar-aria stellar-aria deleted the build-improvement-release branch October 25, 2023 04:03
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

Successfully merging this pull request may close these issues.

2 participants