Other Parts Discussed in Thread: HALCOGEN
I am using the latest HALCoGen, and I am trying to merge the setup from two different HALCoGen projects.
I have noted that HALCoGen does not appear to be saving project data properly.
The most obvious seems to be the toolchain.
If I have the TI toolchain, and select the IAR toolchain,
neither the
DRIVER.TOOLS.VAR.IAR.VALUE=0
nor
DRIVER.TOOLS.VAR.TI.VALUE=1
gets updated.
===
The way I merge is to copy both DIL files to a directory,
then I sort and do a "diff" followed by removal of non-unique lines.
This leaves me with the differences between the two projects.
I note a difference, then modify one of the projects to remove the difference and save.
When I rerun the diff, the changes has been ignored.
If I select another tab/view and save, then the changes are saved.
===
The DIL file appears to contain things which is no longer in use.
One of the projects contain:
DRIVER.SYSTEM.VAR.SAFETY_INIT_<var>. VALUE
The other project does not.
Another example is
DRIVER.SYSTEM.VAR.DCC1_ENABLE.VALUE
which I found no way to change.
There is a
DRIVER.DCC.VAR.DCC1_ENABLE.VALUE
which seems to have replaced the previous value.
I think when you save a project, all existing variables which are no longer in use should be removed.