Skip to content

set mass_storage function parameters in sheme #21

@johannG56

Description

@johannG56

Is there a way to set mass_storage function parameters in scheme ?
I have tried this syntax based on the examples i found on the repo :

functions : {
    mass_storage_usb0 : {
        instance = "usb0";
        type = "mass_storage";
        lun.0 = ({
                file = "/gadget-imgs/usbdisk.img";
        });
    };
};

but i get a syntax error.

am I typing it wrong or Is there some thing to implement to mage it work ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions