On Fri, 23 Sept 2022 at 08:46, Hans Unzner <hansunz...@gmail.com> wrote:

> But I have another question: Some time ago I extended MB2HAL and also
> changed some of the existing pin names to match the structure.
> So one have to change some pin names when switching to 2.9. I already
> read some posts about trouble with MB2HAL when starting LinuxCNC from 2.9.
> The question is: should I add these old pins for backward compatibility
> and mark them as obsolete in the docs?

Maybe increment the INI version and add them to the (mis-named, it
updates HAL too) "update_ini" script?

https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/ini/update_ini.py#L511

Add a new section for version < 1.2, and add your pin renames in the
same format.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to