Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

new source file

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
sasha_1973

Bascom Member



Joined: 30 Jul 2013
Posts: 58

ukraine.gif
PostPosted: Tue Nov 25, 2014 7:02 am    Post subject: new source file Reply with quote

Health to all!

Please tell me how to implement the creation of a new source file, at each compilation?

(BASCOM-AVR version : 2.0.7.7 )
Back to top
View user's profile
Meister

Bascom Member



Joined: 27 May 2010
Posts: 314

PostPosted: Tue Nov 25, 2014 9:23 am    Post subject: Reply with quote

Hi,
I am using "Autover" that immediately creates a time-tagged copy of files that have been saved or changed.
So one can easily go back to an earlier version.
http://bean.freeforums.org/autover-2-2-1-t173.html
The program is free (but unfortunately the author appears to have disappeared for a year or so).
Anyway, the program works well (Win7 64bit in my case). There are a lot of configuration options.
I run it as a service. Occasionally it partially crashes but still works -just ignore the error message.
Without using this program I would have been lost - it saved me incredible amount of work.
For instance, if you have ruined your code at some point and you don't remember because of many changes
what had happened you go back the hex files in history and test it. Once you have arrived at a previously working
version you compare the corresponding .bas file with the current one (using Winmerge) and you see the difference.
Regards, Meister
Back to top
View user's profile
sasha_1973

Bascom Member



Joined: 30 Jul 2013
Posts: 58

ukraine.gif
PostPosted: Tue Nov 25, 2014 9:32 am    Post subject: Reply with quote

Many thanks!

Just super, just what you need!
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5089
Location: Holland

blank.gif
PostPosted: Tue Nov 25, 2014 9:46 am    Post subject: Reply with quote

In bascom : options, IDe, history backup.
This will create a unique file with date time stamp each time you save or compile a file.

_________________
Mark
Back to top
View user's profile Visit poster's website
sasha_1973

Bascom Member



Joined: 30 Jul 2013
Posts: 58

ukraine.gif
PostPosted: Tue Nov 25, 2014 12:30 pm    Post subject: Reply with quote

albertsm wrote:
In bascom : options, IDe, history backup.
This will create a unique file with date time stamp each time you save or compile a file.



Perhaps I misunderstood, but on your recommendation, saved only 1 bachkup that is constantly overwritten. I need to keep the same every compilation.
Back to top
View user's profile
Meister

Bascom Member



Joined: 27 May 2010
Posts: 314

PostPosted: Tue Nov 25, 2014 4:16 pm    Post subject: Reply with quote

Quote:
saved only 1 bachkup (nice typo) that is constantly overwritten

That also was my experience.
Anyway, the invaluable additional advantage of Autover is that -as mentioned above- you also can save all of the the hex-file Versions, making it very easy to identify the latest working Version just by flashing one after the other.
Regards, Meister
Back to top
View user's profile
sasha_1973

Bascom Member



Joined: 30 Jul 2013
Posts: 58

ukraine.gif
PostPosted: Tue Nov 25, 2014 5:25 pm    Post subject: Reply with quote

Meister wrote:
Quote:
saved only 1 bachkup (nice typo) that is constantly overwritten

That also was my experience.
Anyway, the invaluable additional advantage of Autover is that -as mentioned above- you also can save all of the the hex-file Versions, making it very easy to identify the latest working Version just by flashing one after the other.
Regards, Meister


You are absolutely right!

Thank you!
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5089
Location: Holland

blank.gif
PostPosted: Wed Nov 26, 2014 1:14 pm    Post subject: Reply with quote

Did you checked the 'history backup' ? That option will create a hist folder in the project folder. In this folder, it will create a file named FILE~20141125 215504.hst each time you save/compile.
So the file get an additional extension with the data and time and hst extension.

_________________
Mark
Back to top
View user's profile Visit poster's website
AndersL

Bascom Member



Joined: 25 Jan 2010
Posts: 89
Location: Kragerø,Norway

norway.gif
PostPosted: Wed Nov 26, 2014 4:17 pm    Post subject: Reply with quote

Hi Mark,
I suppose the ”History backup” option is for the next version? Can’t find it in 2.7.7.004.

_________________
Anders
Back to top
View user's profile
Dibor

Bascom Member



Joined: 04 Dec 2004
Posts: 126
Location: ISRAEL

israel.gif
PostPosted: Wed Nov 26, 2014 7:21 pm    Post subject: Reply with quote

Hi Mark.
I'm also find only "Auto Backup" option under Option -> Enviroment -> IDE.
Sad Question
Back to top
View user's profile MSN Messenger
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5089
Location: Holland

blank.gif
PostPosted: Thu Nov 27, 2014 3:32 pm    Post subject: Reply with quote

sorry, this option was not published yet.
_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum