Hi Matt,

To speak for myself, I am indeed not familiar with the unittest generator.

I also wonder if we need so many samples for one and the same library. Normally 
one sample file for a library would be the minimum (and often suffcicient) and 
for other PIC types you just look at the relevant blink sample since blink 
samples are made for all released PICs.

It would reduce the number of sample files in the sample directory.

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens Matthew Schinkel 
<[email protected]>
Verzonden: dinsdag 21 december 2021 23:00
Aan: jallib <[email protected]>
Onderwerp: [jallib] Re: Compile Unittest Files

Since there has been no response, I assume nobody knows how to compile samples 
made with the unittest generator.

I think I'll have to replace all of the existing samples with samples that are 
not generated.

Matt.

On Wednesday, December 15, 2021 at 9:44:01 PM UTC-5 Matthew Schinkel wrote:
Hi everyone,

How do I compile \test\peripheral\usb\test_usb_hid_mouse.jal?

I tried with jallib.bat/jallib.py unittest with this command:

jallib.bat unittest 
d:\dev\jallib-github-svn-copy\test\peripheral\usb\test_usb_hid_mouse.jal

and get the following result:
['D:\\dev\\Jallib-github-svn-Copy\\compiler\\jalv2_64.exe', '-s', 
'D:\\dev\\Jallib-github-svn-Copy\\include;.......... {more includes here}
['d:\\dev\\jallib-github-svn-copy\\test\\peripheral\\usb\\test_usb_hid_mouse.jal']
Error while compiling file (status=1).
See previous message.
Test results: {'failure': 1, 'notrun': None, 'success': None}

It says error compiling file but does not tell me what the error is.

Of course a regular compile of the file gives many errors because there is no 
chip defined. There are lines like this that are likely supposed to be replaced 
by the generator
;@jallib section board_description
;@jallib use chipdef

Do we still use this sample generator?

Thanks,
Matt.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/fe84737c-ad6c-45a1-907b-51f9b7c8fb98n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/fe84737c-ad6c-45a1-907b-51f9b7c8fb98n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB6241EC10EEA1AF379B2549C6E67D9%40AM0PR07MB6241.eurprd07.prod.outlook.com.

Reply via email to