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

fix the build for standalone stm32h7 lib. #1464

Closed
wants to merge 1 commit into from

Conversation

slorquet
Copy link
Contributor

@slorquet slorquet commented Feb 3, 2023

Hi,

Here is a patch to fix the stm32h7 build, otherwise the final link just complains:

arm-none-eabi/bin/ld: bootloader.o: in function `_write':
arm-none-eabi/bin/ld: bootloader.c:217: undefined reference to `usart_send_blocking'
arm-none-eabi/bin/ld: bootloader.o: in function `usart_setup':
undefined reference to `usart_set_baudrate'
arm-none-eabi/bin/ld: bootloader.c:64: undefined reference to `usart_set_databits'
arm-none-eabi/bin/ld: bootloader.c:65: undefined reference to `usart_set_stopbits'
arm-none-eabi/bin/ld: bootloader.c:66: undefined reference to `usart_set_mode'
arm-none-eabi/bin/ld: bootloader.c:67: undefined reference to `usart_set_parity'
arm-none-eabi/bin/ld: bootloader.c:68: undefined reference to `usart_set_flow_control'
arm-none-eabi/bin/ld: bootloader.c:71: undefined reference to `usart_enable'

Thanks.

@karlp
Copy link
Member

karlp commented Feb 3, 2023

me@me.net? I don't ask for much, but somethign that can actually maybe reach people, or at least uniquely identify them please.

@karlp karlp closed this in 8bc4837 Feb 3, 2023
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.

None yet

2 participants