Skip to main content
StefanRickli
Associate
October 28, 2019
Question

Put 'mx.scratch' under source control?

  • October 28, 2019
  • 2 replies
  • 1885 views

After generating code for a migrated project (from TrueStudio & CubeMX), I noticed a new file 'mx.scratch' in the project's root.

Is this a temp file that gets generated from other files or shall I take it under source control?

This topic has been closed for replies.

2 replies

Cartu38 OpenDev
Graduate II
October 28, 2019

Yes such file is a temp file. If regular behavior you should see it only during CubeMX project generation process. If getting it by the end of the process most probably some unexpected issue happens in between.

StefanRickli
Associate
October 28, 2019

I just reran code generation and 'mx.scratch' doesn't get deleted after it's done. But I don't get any error messages, and the produced code looks fine.

Is there a log somewhere that I can consult?