[C-based config-pin needs hi/low option] ERROR: write() to /sys/devices/platform/ocp/ocp:P8_33_pinmux/state failed, No such device

The C-based config-pin doesn’t support 0/1… mode has to be one of the P8.33…

  • default
  • gpio
  • gpio_pu
  • gpio_pd
  • eqep

The “old” config-pin shell script:

supports:

# Configure a pin as gpio output and setting the state
config-pin P8.07 hi
config-pin P8.07 low

But it’s an un-maintainable mess, vs the c based parser…

Regards,