Skip to content

Support gpio directives in hardware.raspberry-pi.config #98

@TymanWasTaken

Description

@TymanWasTaken

Some options in the Raspberry Pi config.txt file, such as GPIO control, have meaning when inserted multiple times. Unless I am missing something, the current module configuration does not support inserting options multiple times as you can only have one { enable = ...; value = ... } attrset with a given name, and the value property only supports int/str/bool types.

This means adding something like

gpio=17=op,dh
gpio=18=op,dl

to drive one pin high and one pin low is not possible without using hardware.raspberry-pi.extra-config.


Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions