Skip to main content
Dave Nadler
Senior III
January 20, 2019
Question

CubeMX: How to DELETE configuration of a peripheral?

  • January 20, 2019
  • 2 replies
  • 1004 views

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
January 20, 2019

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
January 20, 2019

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