Open eduard-x opened 5 years ago
the complete example file is in branch wip/xml-patches all configurations are converted from fusemdlg.cpp and eeptypes.cpp files
Hi! I'm on implementing of separate config files. Which format should be implemented, what do you mean, xml or json is better?
There are two files of PIC configurations. JSON is bigger, but clearer. In files you can see the information for chip and help information for FUSE/LOCK popup window.
Hi! We can begin to test the sources in branch wip/v3.2-testing The parser is for xml because of QtXml. :) The defines.h will be generated automatically from xml files. The xml files for atmega and other configurations we can extend/add with new devices after testing. Best regards, Eduard
I can try to implement additional information about fuse/lock as additional attributes of nodes <ic ... />: fuse_mask="" lock_maks="" read_lock_cmd="" write_lock_cmd="" read_fuse_cmd="" write_fuse_cmd="" After this it's possible to overwite functions like WriteLockBits(), ReadLockBits()... and configure this part only in xml files too.
does someone have time to test for errors please? I have to implement the lock / fuse xml configuration in this version, but after testing of current commits
Not to configure hard coded in PonyProg the information about IC's, but instead this to load the information from xml file. Xml file is easier to edit with syntax highlighting (supported in mostly editors), then json. Example:
After version with implemented UART interface i can implement the new parser for PonyProg. Possible, flex/bison based. Possible to use the Qt xml parser.