2023-08-01 11:48 PM
I created a project from the uart_printf example and it does not compile
I'm using STM32CubeIDE Version: 1.13.1 (STM32CubeF7 Firmware Package V1.17.0 / 10-June-2022)
eval board: NUCLEO-746ZG
I didn't change any settings, I created the project from the example and compiled.
The errors I get are:
Does anybody know how to get this to compile?
Thanks,
Nadav
Solved! Go to Solution.
2023-08-02 04:37 AM
Hi KnarfB, thanks for your reply.
The problem is indeed that the syscalls.c is missing :(
I'm copied the syscalls.c from another project (generated from another example for this eval board)
and the compilation warnings/errors disappeared.
Hopefully now it will work...
Thanks,
Nadav
2023-08-02 12:56 AM
In the log, compilation of syscalls.c is missing. Can you do clean rebuild? If syscalls.c won't compile again, this looks like a bug in importing SW4STM32 projects. How have you imported this project?
2023-08-02 01:09 AM
Hello @nadavpp and welcome to the Community :),
I advise you to refer to Migration guide from System Workbench to STM32CubeIDE user manual when you import your project.
Please let me know if the issue is solved.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-08-02 02:28 AM - edited 2023-08-02 10:53 AM
2023-08-02 04:37 AM
Hi KnarfB, thanks for your reply.
The problem is indeed that the syscalls.c is missing :(
I'm copied the syscalls.c from another project (generated from another example for this eval board)
and the compilation warnings/errors disappeared.
Hopefully now it will work...
Thanks,
Nadav
2023-08-02 05:49 AM - edited 2023-08-03 01:16 AM
The syscalls.c files are present in the project tree for another F7 Nucleo.
This is a bug in the CubeF7 sub-tree for NUCLEO-746ZG and some other boards too. I've opened issue on github. #bugreport
https://github.com/STMicroelectronics/STM32CubeF7/issues/99