Skip to content

Cannot compile for ATSAMD21 board, SERIAL_TX_BUFFER_SIZE not defined #2

@aaronw2

Description

@aaronw2

I'm trying to build this for the Adafruit Trinket M0 board but am getting the following errors.

/home/aaronw/Arduino/libraries/FUSB302_PD_UFP_sink/src/PD_UFP_Log.cpp:96: warning: "PSTR" redefined
96 | #define PSTR(str) str
… | ^~~~~~~~~~~~~~~~~~~~~
| SERIAL_BUFFER_SIZE
/home/aaronw/Arduino/libraries/FUSB302_PD_UFP_sink/src/PD_UFP_Log.cpp:236:33: error: 'buf' was not declared in this scope
236 | if (status_log_readline(buf, sizeof(buf) - 1)) {
| ^~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions