Skip to main content
ANauz.1
Senior
September 21, 2023
Question

CubeMX set files in read only mode on each generation

  • September 21, 2023
  • 2 replies
  • 1822 views

Hello,

I'm working with STM32CubeMX version 6.9.2

Each time I generate, all files in Drivers and in Middlewares\Third_Party\FreeRTOS directory are set in read only mode. I can remove it, and each time read only mode is set again.

This is really annoying!

Seen when generating for L4 µC

Regards

This topic has been closed for replies.

2 replies

Ghofrane GSOURI
Technical Moderator
September 21, 2023

Hello @ANauz.1 

First let me thank you for posting.

Actually I couldn't reproduce the issue, could you please provide your IOC in order to push further the investigation.

Thx

Ghofrane

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.
ANauz.1
ANauz.1Author
Senior
September 21, 2023

Hello,

Here is the ioc file I'm using. I just tried in a new empty directory, and I still get the error. Files in Drivers directory are generated (and regenerated) in read only mode.

Antoine

Pavel A.
Super User
September 21, 2023

The Process Explorer can help you understand why a certain file is read-only: is it created in this mode by Cube or something else does it later.