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

fixed g431 build #134

Merged
merged 3 commits into from
Nov 30, 2024
Merged

fixed g431 build #134

merged 3 commits into from
Nov 30, 2024

Conversation

tridge
Copy link
Member

@tridge tridge commented Nov 27, 2024

The g431 build was missing the gcc specific startup file, I had it locally when I tested but forgot to add back when I added g431 makefile support. Unfortunately the compiler only throws a warning when Reset_Handler is missing at the link stage, not an error, so it didn't show up in CI testing
I also had to fix the linker script for g431 to have more space in the FLASH_VECTAB region as it overflowed, and while fixing that I had to remove the FLASH_VERSION section, which is unused. The old USE_MAKE code in main used firmware_info which used this section, but that isn't used any more since we went to the new Makefile system. The USE_MAKE changes had been resurrected by a bad rebase of the eeprom PR.
To clean things up this PR removes all of the FLASH_VERSION sections in the linker script, which are unused.

this was reverted inadvertently as part of the eeprom restructure PR
this was for the old Makefile build, and is not used at all
@AlkaMotors AlkaMotors merged commit 0aa0535 into am32-firmware:main Nov 30, 2024
2 checks passed
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