cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.13.0 problem

Phillip Wolstencroft
Associate II

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

PhillipWolstencroft_0-1689145531697.png

Can you help with what might be the problem?

PhilW

1 ACCEPTED SOLUTION

Accepted Solutions
HBoss.1
Associate II

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

View solution in original post

30 REPLIES 30
Peter BENSCH
ST Employee

It looks like you have the same problem as this one, probably the workaround will help you?

Regards
/Peter

In order 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.
DD
Associate II

Same problem for me after the update, unfortunately the workaround doesn't help.
Any other suggestion?

Phillip Wolstencroft
Associate II

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

 

DeVau
Associate

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.

 

 

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':

mmessuri
Associate

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

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

RhSilicon
Lead

STM32CubeIDE_1.13.0.png

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.

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.