cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration in .ioc file meaning ? (Locked, in NVIC :true\:false, etc)

Thomas LB
Associate III

Hi all,

Comparing my old .ioc project (based on former version of cubeMX) and a fresh new .ioc I found those differences:

0690X000009YvMSQA0.png

but I see no difference in the CubeMX interface NVIC.

Does someone know at what parameters corresponds each filed of line like this:

NVIC.DMA1_Channel4_5_6_7_IRQn=true\:0\:0\:false\:false\:true\:false\:true ?

In this old version I also had some IO with Locked=true attribute, for example in old .ioc file: "PA10.Locked=true"

In new version I have PA13.Locked=true, PA14.Locked=true and PA15.Locked=true but not in the previous one.

I see no functional difference but I'd like to understand what have changed?

One last difference noticed:

old: ProjectManager.CompilerOptimize=2

new: ProjectManager.CompilerOptimize=6

Do you know if this can have impact ?

Any documentation explaining all this?

Have a good day,

3 REPLIES 3
Zuffouille
Associate II

Hi,

I'm having trouble with my Ethernet.

And after comparing a .ioc from a working ethernet project and a non working project I found the same as you.

0693W00000VOARJQA5.pngThe failed one have a lot of parameter set to false. And for the working project, it's in true.

That's the only difference.

Same question as you. Where should we manage this ?

Let me know if you found the answer ��

Thomas LB
Associate III

Hello, Sorry, never get answer to this ;(

If you find something, please share it here !

Have a good day,

Thomas

PGroe.3
Associate II

In case anyone stumbles upon this question:
I have extensivly tested the behavior of CubeMX regarding the NVIC vector and it appears that CubeMX somehow memorizes user interaction on the NVIC settings with the setting located at the 4th position from front and 3rd from end. However, I could not observe any impact on the code generation regarding those two flags.

In my observations, the latter one (3rd from end) changes from false to true when manually enabling or disabling the IRQ and never changes back. However, I could be wrong.

Hope this is helpful for somebody.

Best Regards.