Skip to content

[BUG] warning: "SERIAL_TX_BUFFER_SIZE" redefined #22466

@pmjdebruijn

Description

@pmjdebruijn

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

Marlin builds with a large list of warnings for the SKR E3 RRF board.

Happens with current 2.0.x and bugfix-2.0.x, the issue seems to have been introduced in 7773504 for 2.0.x

Bug Timeline

7773504

Expected behavior

No build warnings.

Actual behavior

Building in release mode
Compiling .pio/build/BIGTREE_E3_RRF/FrameworkArduinoVariant/PeripheralPins.c.o
Compiling .pio/build/BIGTREE_E3_RRF/FrameworkArduinoVariant/variant.cpp.o
<command-line>: warning: "SERIAL_RX_BUFFER_SIZE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "SERIAL_TX_BUFFER_SIZE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/BIGTREE_E3_RRF/FrameworkArduino/HardwareSerial.cpp.o
<command-line>: warning: "SERIAL_RX_BUFFER_SIZE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "SERIAL_TX_BUFFER_SIZE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/BIGTREE_E3_RRF/FrameworkArduino/HardwareTimer.cpp.o
<command-line>: warning: "SERIAL_RX_BUFFER_SIZE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "SERIAL_TX_BUFFER_SIZE" redefined
<command-line>: note: this is the location of the previous definition

Steps to Reproduce

No response

Version of Marlin Firmware

Marlin 2.0.9.1+81 (35df24e1) (2.0.x branch)

Printer model

Ender 3 Pro

Electronics

SKR E3 RRF V1.1

Add-ons

No response

Your Slicer

Prusa Slicer

Host Software

No response

Additional information & file uploads

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions