2023-09-05 06:08 AM - edited 2023-09-05 06:10 AM
Hi,
I tried to build my project but I faced these errors :
--------------------------------------------------------------------------------------------------------------------------------------------------
C:/ST/STM32CubeIDE_1.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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':
(.text._read_r+0x10): warning: _read is not implemented and will always fail
C:/ST/STM32CubeIDE_1.12.1/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.12.1/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-writer.o): in function `_write_r':
(.text._write_r+0x10): warning: _write is not implemented and will always fail
C:/ST/STM32CubeIDE_1.12.1/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: warning: cannot find entry symbol Reset_Handler; defaulting to 0000000008000000
--------------------------------------------------------------------------------------------------------------------------------------------------
Can someone helped me please?
Solved! Go to Solution.
2023-09-08 02:52 AM
I indeed submitted a ticket and the support solved my issue.
For whoever is in this case too, here's the solution that worked for me :
Open your project in STM32CubeIDE, make sure you have already included all the folders you have created yourself, then in the project explorer right click on the folder in the project > properties and uncheck the "Exclude resource from build" button (C/C++ Build). Check all the folders and do it for all. It should fix your problem
2023-09-05 06:16 AM
Hello @Gnahore
I suggest you to:
Best regards .
II
2023-09-05 06:22 AM - edited 2023-09-05 06:50 AM
Hello @Issamos ,
Do you mind explain how to do these 3 things? Please
Edit : when i try to update cubeIDE (Help > Check for updates) I get the message "no update found".
2023-09-05 06:53 AM
best regards.
II
2023-09-05 08:03 AM - edited 2023-09-05 08:20 AM
I already tried to update it and as my previous reppy says I got the message "no update found". But I think it's because my CubeIDE is on date, when I launch it says it is the version 1.13.1
I also already included all the folders : Project > properties > C/C++ General > Paths and Symbols. In the includes tab : Add > checked "is a workspace path" > workspace.. > selected my own includes (.h) folder. Then in the source location : > add folder.. > selected my own folder which is constitute of my include folder and my source folder.
And in my code, I call all the file needed (#include "xxxxxxx.h").
I don't know what is the issue because I didn't have this issue before
2023-09-06 06:18 AM
Hello @Gnahore,
First let me thank you for posting.
The fixing of this issue is ongoing.
The Internal ticket number is: 160082 (This is an internal tracking number and is not accessible or usable by customers).
I advise you to consult this Post to get more information related to this issue.
I will get back to you as soon as the request is analyzed.
Thanks.
Mahmoud.
2023-09-08 02:52 AM
I indeed submitted a ticket and the support solved my issue.
For whoever is in this case too, here's the solution that worked for me :
Open your project in STM32CubeIDE, make sure you have already included all the folders you have created yourself, then in the project explorer right click on the folder in the project > properties and uncheck the "Exclude resource from build" button (C/C++ Build). Check all the folders and do it for all. It should fix your problem
2023-09-26 01:33 AM
Hi,
I am also facing the same issue and I verified all folders and all were unchecked, but still problem persist. Can you suggest other way out please ?
Regards,
VK Verma
2024-02-04 02:10 AM
bless you friend I'm breaking my head on this for like 3 days and always had a feeling it's probably some check hidden in mountain of properties and options
2024-09-07 08:42 PM
The accepted solution here is rather poorly described, I'm not sure if it is even the solution either. There is some in-depth discussion on SO which might be useful: https://stackoverflow.com/questions/73742774/gcc-arm-none-eabi-11-3-is-not-implemented-and-will-always-fail
Chances are if you had an existing project and this problem started when you upgraded CubeIDE, the most straightforward thing to do is tell CubeIDE to use the same toolchain as you had before, instead of the latest. You can do this under Project -> Settings -> C++ build -> Settings. First, use the toolchain manager to install the toolchain you want (most likely 10.3-2021.10 which seems to be the most recent one that avoids this problem). Then select 'fixed' and set that as the toolchain to use.
One thing I really would NOT recommend, is to ignore these warnings. I just wasted a whole day investigating why my bootloader would read 4 bytes from an external SPI flash memory but only 3 bytes actually got filled correctly. Those warnings seemed unrelated but I confirmed multiple times to my utter disbelief, that merely changing the toolchain was the problem.
In general, maybe this is a lesson to resist the urge to get the latest and newest of everything, and just focus on what actually matters, getting your product made, and not going insane from frustration.