2024-06-21 04:27 PM
Hello, I just started with BLE_HID_Mouse example and after Build All I get the follow Error with 2 warnings. Just need a little help - how to fix it.
C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/thumb/v8-m.main+fp/hard/crtn.o: missing .note.GNU-stack section implies executable stack
C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: BLE_HID_Mouse.elf has a LOAD segment with RWX permissions
Finished building target: BLE_HID_Mouse.elf
arm-none-eabi-size BLE_HID_Mouse.elf
arm-none-eabi-objdump -h -S BLE_HID_Mouse.elf > "BLE_HID_Mouse.list"
text data bss dec hex filename
350476 1456 65168 417100 65d4c BLE_HID_Mouse.elf
Finished building: default.size.stdout
Finished building: BLE_HID_Mouse.list
19:13:46 Build Failed. 1 errors, 2 warnings. (took 7s.995ms)
Solved! Go to Solution.
2024-06-27 01:18 AM - edited 2024-07-01 10:00 AM
It seems the issue has been fixed, and will be available (in 1.16.0) "soon":
Update - STM32CubeIDE 1.16.0 released 2024-07-01:
https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-16-0-released/td-p/692407
2024-06-23 11:45 PM - edited 2024-06-23 11:45 PM
Hello @GS2 ,
Make sure to use the latest release of STM32CubeMX and Cube firmware package.
2024-06-24 08:35 AM
Thank you Imen,
I thought that STM32CubeIDE_1.15.1 is the latest. If not - what version is the latest ?
2024-06-24 08:40 AM
Sorry, I found STM32CubeIDE 1.6.1 - will try that! I hope that this is the latest.
2024-06-24 08:58 AM
Sorry again, can not download or update to version 1.6.1 . Can you Imen to give a working link to required download?
2024-06-25 07:58 AM - last edited on 2024-06-25 07:59 AM by SofLit
Hi @GS2 ,
You are using the right version of STM32CubeIDE (v1.15.1) which is the last release.
I mean make sure that you are using also the latest release of STM32CubeMX and Cube firmware package.
2024-06-25 08:41 AM - edited 2024-06-25 09:45 AM
Hi @GS2 ,
Thank you for having reported this issue. Your post has been very helpful in raising the valuable ticket with the developers.
After building the example, we reproduced the same warnings :
C:/ST/STM32CubeIDE_1.15.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/thumb/v8-m.main+fp/hard/crtn.o: missing .note.GNU-stack section implies executable stack ...
This issue has been tracked for fix by this internal ticket:177107.
(PS: Internal ticket:177107 is an internal tracking number and is not accessible or usable outside of ST).
Thanks again for your contribution and do not hesitate to raise any issue/ feedback.
2024-06-27 01:18 AM - edited 2024-07-01 10:00 AM
It seems the issue has been fixed, and will be available (in 1.16.0) "soon":
Update - STM32CubeIDE 1.16.0 released 2024-07-01:
https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-16-0-released/td-p/692407
2024-07-02 03:01 PM
Thanks, YES - With release: 1.16.0. - Build Finished. 0 errors, 0 warnings.