cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX: How to DELETE configuration of a peripheral?

Suppose you configure a timer, then decide you don't want that one.

How is one supposed to remove it?

I've tried delete key, all views, finally edited the IOC file.

Really now! This user interface would get us canned if we delivered it to a customer...

Thanks,

Best Regards, Dave

PS: I tried Help, but it doesn't work!

2 REPLIES 2
turboscrew
Senior III

Open the .ioc file with CubeMX and disable the device. Then regenerate the code.

All code related to the device disappears.

 Thet is, if you have "Delete previously generated files when not generated" checked in CumeMX project settings.

I tried both Disable and Reset to Default Parameter buttons, but the timer still shows as used in the left panel...