Skip to content

Compiling issue #10

@lcraptan

Description

@lcraptan

Hi, when I compile, I get these errors...

C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp: In static member function 'static void UART::WrapperCallback(uart_callback_args_t*)':
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp:66:19: error: 'class UART' has no member named 'tx_done'; did you mean 'tx_pin'?
uart_ptr->tx_done = true;
^~~~~~~
tx_pin
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp: In member function 'virtual size_t UART::write(uint8_t)':
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp:112:5: error: 'tx_done' was not declared in this scope
tx_done = false;
^~~~~~~
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp:112:5: note: suggested alternative: 'tx_pin'
tx_done = false;
^~~~~~~
tx_pin
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp: In member function 'size_t UART::write(uint8_t*, size_t)':
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp:124:5: error: 'tx_done' was not declared in this scope
tx_done = false;
^~~~~~~
C:\Users\lcrap\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.5.1\cores\arduino\Serial.cpp:124:5: note: suggested alternative: 'tx_pin'
tx_done = false;
^~~~~~~
tx_pin
exit status 1

Compilation error: exit status 1

I did update the serial.cpp and HardwareSerial.h files in the folder as instructed. Am I missing a library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions