Skip to main content
Parmin Nayani
Associate III
Solved

Cube IDE 1.15.0

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 

 

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator

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.

12 replies

STTwo-32
ST Technical Moderator

Hello @Parmin Nayani 

Could you please take a look at this post. It should be helpful.

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.
Parmin Nayani
Associate III

Hi,

I seem to miss "Could you please take a look at this post. It should be helpful." link. Can you post the link please? Thank you.

STTwo-32
ST Technical Moderator

Hello @Parmin Nayani 

I've added the link sorry for this mistake.

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.