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

Update Kconfig - Fix build for STM32F042 #6243

Closed
wants to merge 1 commit into from
Closed

Update Kconfig - Fix build for STM32F042 #6243

wants to merge 1 commit into from

Conversation

JamesH1978
Copy link
Collaborator

It seems the updates to software i2c in commit 645a1b8 has pushed the F042 mcu build over the flash size edge with errors of /usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: out/klipper.elf section `.text' will not fit in region `rom' /usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: region `rom' ove rflowed by 266 bytes collect2: error: ld returned 1 exit status make: *** [Makefile:72: out/klipper.elf] Error 1

Fix suggested by @gdachs on the klipper discord

Thanks
James

It seems the updates to software i2c in commit 645a1b8 has pushed the F042 mcu build over the flash size edge with errors of ```/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: out/klipper.elf                                                                                                                                 section `.text' will not fit in region `rom'
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: region `rom' ove                                                                                                                                rflowed by 266 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:72: out/klipper.elf] Error 1```

Fix suggested by @gdachs

Thanks
James

Signed-off-by: James Hartley <james@hartleyns.com>
@KevinOConnor
Copy link
Collaborator

Thanks. See PR #6244 as an alternative.

-Kevin

@JamesH1978
Copy link
Collaborator Author

Oh yes, thats a nicer idea, also sorts the issues with other small mcu's. I will close this.

Thanks
James

@JamesH1978 JamesH1978 closed this Jun 8, 2023
@JamesH1978 JamesH1978 deleted the patch-7 branch June 8, 2023 17:20
@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants