Skip to content

UART for nrf targets does not implement machine.Serialer #3990

Open
@bgould

Description

@bgould

This function procedure is incompatible with the machine.Serialer interface:

func (uart *UART) Configure(config UARTConfig) {

When compiling with -serial=uart, compilation fails when attempting to use machine.Serial as a machine.Serialer like:

cannot use machine.Serial (variable of type *machine.UART) as machine.Serialer value in struct literal: *machine.UART does not implement machine.Serialer (wrong type for method Configure)
                have Configure(machine.UARTConfig)
                want Configure(machine.UARTConfig) error

Metadata

Metadata

Assignees

No one assigned

    Labels

    nRFNordic Semi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions