Skip to main content
Associate II
October 12, 2024
Question

Incremental saving

  • October 12, 2024
  • 1 reply
  • 764 views

Hi all

When I work on project, I like to save everything incrementally maybe 3 or 4 time a day just to be safe . 

And if I do something "crazy", as program goes bigger and bigger, it easy to revert back to an older project name.

If I have my project name ex: "TFT_Sept_10" then I just have to add "_A" then "_B"' and so on.

So the name become "TFT_Sept_10_B", with all the files. 

That is very easy on PIC chip, but with the CubeIDE, I've not been able to achieve that, cause of

some files missing or workspace problem, etc.

I'm very new to STM32 and like the power of those chip.

So if someone can give me a simple way to save incrementally, and been able to recall an older

named project, that would be very helpful for me.

Using CubeIDE 1.16.1

Thanks everyone..

 

1 reply

Tesla DeLorean
Guru
October 12, 2024

I have a similar strategy, works well in Keil, less so in Eclipse based tools.

Consider GitHub / GitHub for Desktop, you can diff and revert things

Could also dupe the project to it's own sub directory, and use WinMerge / AraxisMerge and decent file manager.

But yes, would probably be a useful feature to add to CubeIDE, ie an archive, auto-archive, diff/merge

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Pavel A.
Super User
October 12, 2024

Eclipse has built-in "Team" tools that keep basic history of files.

https://stackoverflow.com/questions/22451530/how-to-view-local-changes-by-date-in-eclipse