2023-07-12 12:07 AM
I have just updated the IDE from 1.12.1 and updated my project as requested but I have encountered an issue when compiling.
I get 3 errors on previously compiling source code. as follows
Can you help with what might be the problem?
PhilW
Solved! Go to Solution.
2023-09-04 11:23 PM
Same Problem here. Solved as follows:
- create a new project with 1.13.1
- grab the files syscalls.c and sysmem.c from Core/Src
- add those files to your existing project
You're done
2023-07-12 12:31 AM
It looks like you have the same problem as this one, probably the workaround will help you?
Regards
/Peter
2023-07-12 05:12 AM
2023-07-12 09:54 PM
I could not get the solution above to work.
I then saved a copy of my project for reference and regenerated the code from CubeMX.
I checked/edited my code comparing to my saved copy, including my .ld file.
I can now compile it with version 1.13.0
2023-07-12 11:10 PM
Absolutely same errors as in DD's error.png.
The workaround doesn'thelp for me too.
I am using 12.1 instead until someone has another workaround / can help.
2023-07-13 07:05 AM
Hello Mr. Peter,
After updating to new STM32CUbeIDE version 1.13.0 , following build errors generated, my all working project show similar errors, I am completely stuck-up, kindly suggest some way out in the existing version or suggest some way to rollback.
Regards,
VK Verma
C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-closer.o): in function `_close_r':
(.text._close_r+0xc): warning: _close is not implemented and will always fail
C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-fstatr.o): in function `_fstat_r':
(.text._fstat_r+0xe): warning: _fstat is not implemented and will always fail
C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-isattyr.o): in function `_isatty_r':
(.text._isatty_r+0xc): warning: _isatty is not implemented and will always fail
C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-lseekr.o): in function `_lseek_r':
(.text._lseek_r+0x10): warning: _lseek is not implemented and will always fail
C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.3.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-readr.o): in function `_read_r':
2023-07-17 12:43 PM
I am having this exact issue as well (even with a fresh install of the IDE and CubeMX within a Linux environment). On my windows box the old versions of both the IDE and CubeMX worked just fine and since the upgrade I can not even compile STM's own example and demo projects without getting this error
2023-07-17 01:03 PM
Just to update anyone looking at this, once I rolled back to version 1.10.1, everything (including STM's own project samples) builds just fine
2023-07-17 04:19 PM
Good to know that there have been errors, I will wait a little longer before updating, 1.12.1 is still sufficient for my project that uses F4.
2023-07-17 04:24 PM
There are two problems when using the STM32CubeIDE, the version of the IDE itself and the version of the firmware it uses, for example FW_F4 1.27.1 for STM32F4.