cancel
Showing results for 
Search instead for 
Did you mean: 

Adding User Label in CubeMX, and regenerating code, CubeIDE doesn't add appropriate #define resulting in undeclared errors. Is this the design behavior?

HGran.1
Associate II

Shouldn't CubeMX 6.01 create the #defines that coorespond to newly added User Labels in an existing project ?

Of course it works if I add the User Labels as #defines manually.

If this is the expected design behavior, please let me know...

Thanks,

Heather

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

Hi @HGran.1​ ,

Any feedback ? do you confirm that CubeMX 6.1.0 fix your issue?

Khouloud

View solution in original post

3 REPLIES 3
Khouloud ZEMMELI
ST Employee

Hello @HGran.1​ 

Can you please check with the 6.1.0 CubeMX version if problem still exist or not ?

Thanks, Khouloud

Khouloud ZEMMELI
ST Employee

Hi @HGran.1​ ,

Any feedback ? do you confirm that CubeMX 6.1.0 fix your issue?

Khouloud

JSchn.4
Associate III

Hi there,

I had the same problem. The reason for me was pretty simple.

Since I am working on a dual core, I had to assign a "Pin Context" (M7 or M4).

After having assigned that, it worked as expected.

Here is a screenshot of the configuration

0693W000008GD9FQAW.pngHope it helps you too!

Johannes