[En-Nut-Discussion] qnutconf path mysteries

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Dec 8 13:49:40 CET 2009


Hi Harald,

> [...]
> If we then start qnutconf from C:\ethernut-x.y.z on Windows or
> ~/ethernut on Linux/OS X, it will fail.
> 
> Comments? Ideas?

The path dependencies of (q)nutconf are really a mess.

Why not change the workflow a little:

Call (q)nutconf from wherever you like. It will start without directly
popping up the file-open dialog.

Next: Click on "open file" to open your .conf file

If you have not yet done the following step, (q)nutconf should now ask
you what your working directory shall be. Locate
now ../../../ethernut/...

Next nutconf will save this path _in your .conf file_ and will proceed
as normal.

This little enhancement will fix this annoying "allow multiple
configurations" problem too. You can have as much NutOS Trees as you
like and you'll always get the correct path settings as they are saved
in you machine configuration file. So you can have different NutOS
Trees / Versions / projects without any hassle.

What do you think?

Ole


-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list