cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX: problem when using "user constant" for FreeRTOS parameters

Syn_BE
Associate III

Hi,

I'm using CubeIDE: V1.10.1 (CubeMX v6.6.1).

To configure my project in (internal) CubeMX, I have created a "user constant":

  • Name: USER_01
  • Value: 70693W00000UoBf0QAF.png

In FreeFRTOS Config parameters -> LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY,

I have entered this "USER_01"

0693W00000UoBfFQAV.png 

When I save the IOC and generate code, everything is still fine.

Then I close the IOC File.

When I try to re-open the IOC, there is an error message "Not a valid ioc file".

0693W00000UoBfjQAF.pngAnd CubeMX can not edit this IOC any more - it is "broken".

---

When I edit the IOC file manually with text editor and change one single line

from

"FREERTOS.configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY=USER_01"

to

"FREERTOS.configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY=7"

CubeMX can re-open the IOC file again.

---

Am I doing something wrong, or is this a CubeMX issue?

Best regards, Andy

1 ACCEPTED SOLUTION

Accepted Solutions
Semer CHERNI
ST Employee

Hello @Syn_BE​ 

First let me thank you for posting.

Actually, you're right, I've been able to reproduce the same misbehavior from my side when using the same configuration as you.

With this being said, this problem is raised internally to be reviewed. I'll keep you posted with the updates.

Internal ticket number: 137341 (This is an internal tracking number and is not accessible or usable by customers).

Thanks for your contribution.

Semer.

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.

View solution in original post

2 REPLIES 2
Semer CHERNI
ST Employee

Hello @Syn_BE​ 

First let me thank you for posting.

Actually, you're right, I've been able to reproduce the same misbehavior from my side when using the same configuration as you.

With this being said, this problem is raised internally to be reviewed. I'll keep you posted with the updates.

Internal ticket number: 137341 (This is an internal tracking number and is not accessible or usable by customers).

Thanks for your contribution.

Semer.

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.

Syn_BE
Associate III

Thanks, @Semer CHERNI​ for checking.

I look forward to hearing news.

Best regards, Andy