Skip to main content
Dave Nadler
Senior III
Jan 20, 2019 1:17 AM UTC
Question

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!

This topic has been closed for replies.

2 replies

turboscrew
Senior III
Jan 20, 2019 9:24 AM UTC

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.

Dave Nadler
Senior III
Jan 20, 2019 5:04 PM UTC

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