Cube IDE 1.15.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-01 4:45 AM
Hi all,
Installed the latest CubeIDE and re-built an existing project. Got several warnings. One of them was
RWX. This could be solved by making changes to the ,ld file. Example - .ARM (READONLY)
The next issues was -- > "_close is not implemented and will always fail". Don't know how to solve this warning.
I believe these problems are due to latest version GCC.
Another issue I noticed is - memory regions have disappeared. I have a correctly name list file but to no avail.
Can someone please help me solve these issues. Please help. Thanks.
NPS
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-01 6:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-01 7:25 AM
Hello @Parmin Nayani
This is a known issue that will be fixed on the next releases. As a temporary workaround, in main.c file, add these instructions:
__attribute__((weak)) void _close(void){}
__attribute__((weak)) void _lseek(void){}
__attribute__((weak)) void _read(void){}
__attribute__((weak)) void _write(void){}
Between "/* USER CODE BEGIN Includes */" and "/* USER CODE END Includes */".
Best Regards.
STTwo-32
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-01 7:34 AM
Hi STTwo-32,
Thank you for the update. Now I am not getting the warning. Hopefully nothing else is getting disturbed. Thank you.

- « Previous
-
- 1
- 2
- Next »