Hi Seb,
I worked on the sample generation today and discovered two minor
issue's in the python script:
- the output file param is mandatory on the command line, but unlike
the test and board file, it is not mentioned or checked.
- if the first use statement in the test file has no empty line above,
it is not recognised.
I updated all 11 test files with the use statements and am able to
generate samples from two board files.
For some reason I can't discover, it does not work with the 16f648a
board file. The board file seems to be parsed by the script (I don't
get a message it is not found) but the sections are unknown
afterwards. Maybe you can have a look?
What I do:
C:\myrobot\jal\projects\jallib_test>python c:\jallib\tools\jallib.py
sample -b C:\jallib\unvalidated\sample\test\board\board_16f648a_js.jal
-t C:\jallib\unvalidated\sample\test\peripheral\usart\test_serial_hardware.jal
-o out.jal
Traceback (most recent call last):
File "c:\jallib\tools\jallib.py", line 1234, in <module>
callme(action_args)
File "c:\jallib\tools\jallib.py", line 927, in do_sample
merged = merge_board_testfile(board,test)
File "c:\jallib\tools\jallib.py", line 885, in merge_board_testfile
new = "".join(board['sections'][m.groups()[-1].strip()])
KeyError: 'chipdef'
Regards,
Joep
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---