Skip to main content
Parmin Nayani
Associate III
April 1, 2024
Solved

Cube IDE 1.15.0

  • April 1, 2024
  • 1 reply
  • 6067 views

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 

 

Best answer by STTwo-32

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

 

1 reply

STTwo-32
Technical Moderator
April 1, 2024

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
April 1, 2024

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
Technical Moderator
April 1, 2024

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.