I can imagine halcmd emitting a warning if you call loadrt with an argument that's just "=", but that feels a bit over-specific for this particular user's syntax error.
-- Sebastian Kuzminsky On March 5, 2023 4:54:15 PM MST, andy pugh <bodge...@gmail.com> wrote: >On Sun, 5 Mar 2023 at 23:45, Jon Elson <el...@pico-systems.com> wrote: > >> loadrt hal_ppmc extradac = 0x00 >> >> this caused a parameter extradac not found error from hal. >> >> The correct syntax that works is : >> >> loadrt hal_ppmc extradac=0x00 (note - no spaces between >> extradac and the 0x00). Is this a known issue in loadrt >> parameters, and would it be easy to fix? > >I don't think that it is an easy fix, as my understanding is that this >is built-in Linux behaviour as to how command-line parameters are sent >to modules. > >(Note, I am not actually an expert in this area) > >Basically, any whitespace is treated as a delimiter, which is why you >can say myprogram --option1 --option2 and then get the two options as >separate arguments to the called code. > >-- >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 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers