Rob Hamerling wrote:

> Jallib's -help function is pretty brief for a dummy like me 

Well, typically a case of short-sightness: it turns out Jallib.py has 
more info than I thought....

> I would like to generate multiple samples with a single board file and 
> multiple test files (one for each test file). If possible, how?

In the meantime I found out by reading the help-info and the python 
code! And it works as advertised, but the possibilities are too limited 
for what I need.

Because of changes in the device files - ic the fuse_defs - I need to 
change board files, generate new samples not overwriting those in the 
/sample directory, and compile these with new the device files (another 
set than those in the current /include/device).  As far as I understand 
it this is not possible with the current jallib.py script.
So I made a copy of jallib.py, commented out the compiler invocation, in 
particular the possible unlink() from the function 
generate_one_sample(). In fact I use only the merge facility which 
leaves all generated samples in the -o directory. Now I can compile 
these with my own compiler options, like specific include directories.

I need to change only some board-files and do not need all test files. 
So I invoke jallib.py once for every board and ignore or discard the 
superfuous samples.

This works good enough for me now. I don't know if it is useful to add a 
'merge-only' option to jallib.py.

Regards, Rob.

-- 
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to