View previous topic :: View next topic |
Author |
Message |
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Wed Sep 04, 2019 1:56 am Post subject: 2082 Custom Configuration Questions |
|
|
Where are the following programmer options in "What is new in 2082"?
- a new option let you select if the programmer settings are stored with the project or are global
The custom configuration file is named "bascom-avr2082.xml", but what happens to the "bascom-avr.xml" file if you take over the previous version option settings?
Also is it listed in the help?
(BASCOM-AVR version : 2.0.8.2 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Wed Sep 04, 2019 11:04 am Post subject: |
|
|
the option to select the programmer settings was cancelled last minute. it was not tested enough. And beside that, i found more options could benefit from storage with the project.
So it is disabled/invisible and will be back later.
the xml file is stored at the usual location. but it has a different name. this way you can have different settings.
if you like to override the file, just store an xml file with the name you like in the application folder. then pass it as a parameter.
like : bascavr.exe mysettings.xml _________________ Mark |
|
Back to top |
|
|
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Wed Sep 04, 2019 1:23 pm Post subject: |
|
|
Thank you for your quick response.
I frequently switch between "AVRISPmkII" and "Arduino" depending on the board I develop.
So I was hoping for the option to switch the programmer depending on the project.
What does it mean to use the storage that Mark says?
Is it more convenient than the "$PROGRAMMER" command?
please tell me in detail.
Do you mean that the name of the standard xml file will change depending on the version in the future?
For example, if change the name of the "bascom-avr.xml" setting used so far to "bascom-avr2082.xml", does it mean that the previous setting can be transferred to Ver.2082? |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Wed Sep 04, 2019 8:50 pm Post subject: |
|
|
The $programmer option only switch the programmer. But does not allow different parameters. For most projects it would do.
To store all programmer options is a better option. But like said, too little tested. And why not only programmer. there are more options that might be better stored with the project.
The xml file. you can simply copy the old xml file to a new one.
In fact, maybe the update procedure should offer that choice.
The files are always upwards compatible but not always downward.
so you can use 2080 xml file with 2082 but not 2079 with 2082 xml.
To have multiple projects :
copy the xml file to your bascom folder. and give them all a different name :
my-project1.xml
my-other-project.xml
Then run bascom from a link or batch file command line : bascavr.exe "my-other-project.xml"
now this settings will be used. _________________ Mark |
|
Back to top |
|
|
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Thu Sep 05, 2019 1:40 am Post subject: |
|
|
I understand the explanation!
Quote: | The xml file. you can simply copy the old xml file to a new one.
In fact, maybe the update procedure should offer that choice. |
I understand that.
However, since the name "bascom-avr2082.xml" was used in 2082 this time, it was a question that it might not be compatible.
Changing the batch command for each project is impractical, so we look forward to future improvements! |
|
Back to top |
|
|
|