Hi Guys / Girls
Ive started fresh both Marlin and Arduino and I keep getting this sort of error do I just // them out or do I have to put something in.
Thanks for the help.
MarlinSerial.cpp:141: error: 'rx_buffer' was not declared in this scope
const uint8_t h = rx_buffer.head,
^
MarlinSerial.cpp:148: error: 'i' was not declared in this scope
if (i != rx_buffer.tail) {
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:0:
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In function 'void USART5_RX_vect()':
MarlinSerial.h:64: error: 'UDR5' was not declared in this scope
#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:64:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:191:31: note: in expansion of macro 'M_UDRx'
const unsigned char c = M_UDRx;
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::begin(long int)':
MarlinSerial.h:56: error: 'UCSR5A' was not declared in this scope
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:210:7: note: in expansion of macro 'M_UCSRxA'
M_UCSRxA = _BV(M_U2Xx);
^
In file included from c:\users\gisal\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:32,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
MarlinSerial.h:69: error: 'U2X5' was not declared in this scope
#define M_U2Xx SERIAL_REGNAME(U2X,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:69:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_U2Xx SERIAL_REGNAME(U2X,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:210:22: note: in expansion of macro 'M_U2Xx'
M_UCSRxA = _BV(M_U2Xx);
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:0:
MarlinSerial.h:56: error: 'UCSR5A' was not declared in this scope
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:214:7: note: in expansion of macro 'M_UCSRxA'
M_UCSRxA = 0;
^
MarlinSerial.h:65: error: 'UBRR5H' was not declared in this scope
#define M_UBRRxH SERIAL_REGNAME(UBRR,SERIAL_PORT,H)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:65:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UBRRxH SERIAL_REGNAME(UBRR,SERIAL_PORT,H)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:219:5: note: in expansion of macro 'M_UBRRxH'
M_UBRRxH = baud_setting >> 8;
^
MarlinSerial.h:66: error: 'UBRR5L' was not declared in this scope
#define M_UBRRxL SERIAL_REGNAME(UBRR,SERIAL_PORT,L)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:66:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UBRRxL SERIAL_REGNAME(UBRR,SERIAL_PORT,L)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:220:5: note: in expansion of macro 'M_UBRRxL'
M_UBRRxL = baud_setting;
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:33:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
MarlinSerial.h:57: error: 'UCSR5B' was not declared in this scope
#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\macros.h:98:19: note: in definition of macro 'SBI'
#define SBI(n,b) (n |= _BV(b))
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:57:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:222:9: note: in expansion of macro 'M_UCSRxB'
SBI(M_UCSRxB, M_RXENx);
^
In file included from c:\users\gisal\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:32,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
MarlinSerial.h:58: error: 'RXEN5' was not declared in this scope
#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:222:5: note: in expansion of macro 'SBI'
SBI(M_UCSRxB, M_RXENx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:58:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:222:19: note: in expansion of macro 'M_RXENx'
SBI(M_UCSRxB, M_RXENx);
^
MarlinSerial.h:59: error: 'TXEN5' was not declared in this scope
#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:223:5: note: in expansion of macro 'SBI'
SBI(M_UCSRxB, M_TXENx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:59:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:223:19: note: in expansion of macro 'M_TXENx'
SBI(M_UCSRxB, M_TXENx);
^
MarlinSerial.h:61: error: 'RXCIE5' was not declared in this scope
#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:224:5: note: in expansion of macro 'SBI'
SBI(M_UCSRxB, M_RXCIEx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:61:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:224:19: note: in expansion of macro 'M_RXCIEx'
SBI(M_UCSRxB, M_RXCIEx);
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:33:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::end()':
MarlinSerial.h:57: error: 'UCSR5B' was not declared in this scope
#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\macros.h:99:19: note: in definition of macro 'CBI'
#define CBI(n,b) (n &= ~_BV(b))
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:57:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:232:9: note: in expansion of macro 'M_UCSRxB'
CBI(M_UCSRxB, M_RXENx);
^
In file included from c:\users\gisal\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:32,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
MarlinSerial.h:58: error: 'RXEN5' was not declared in this scope
#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:232:5: note: in expansion of macro 'CBI'
CBI(M_UCSRxB, M_RXENx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:58:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:232:19: note: in expansion of macro 'M_RXENx'
CBI(M_UCSRxB, M_RXENx);
^
MarlinSerial.h:59: error: 'TXEN5' was not declared in this scope
#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:233:5: note: in expansion of macro 'CBI'
CBI(M_UCSRxB, M_TXENx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:59:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:233:19: note: in expansion of macro 'M_TXENx'
CBI(M_UCSRxB, M_TXENx);
^
MarlinSerial.h:61: error: 'RXCIE5' was not declared in this scope
#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:234:5: note: in expansion of macro 'CBI'
CBI(M_UCSRxB, M_RXCIEx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:61:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:234:19: note: in expansion of macro 'M_RXCIEx'
CBI(M_UCSRxB, M_RXCIEx);
^
MarlinSerial.h:63: error: 'UDRIE5' was not declared in this scope
#define M_UDRIEx SERIAL_REGNAME(UDRIE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:235:5: note: in expansion of macro 'CBI'
CBI(M_UCSRxB, M_UDRIEx);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:63:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UDRIEx SERIAL_REGNAME(UDRIE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:235:19: note: in expansion of macro 'M_UDRIEx'
CBI(M_UCSRxB, M_UDRIEx);
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:33:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::checkRx()':
MarlinSerial.h:56: error: 'UCSR5A' was not declared in this scope
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\macros.h:97:22: note: in definition of macro 'TEST'
#define TEST(n,b) (((n)&_BV(b))!=0)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:239:14: note: in expansion of macro 'M_UCSRxA'
if (TEST(M_UCSRxA, M_RXCx)) {
^
In file included from c:\users\gisal\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:32,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
MarlinSerial.h:67: error: 'RXC5' was not declared in this scope
#define M_RXCx SERIAL_REGNAME(RXC,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:239:9: note: in expansion of macro 'TEST'
if (TEST(M_UCSRxA, M_RXCx)) {
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:67:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_RXCx SERIAL_REGNAME(RXC,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:239:24: note: in expansion of macro 'M_RXCx'
if (TEST(M_UCSRxA, M_RXCx)) {
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:0:
MarlinSerial.h:64: error: 'UDR5' was not declared in this scope
#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:64:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:240:25: note: in expansion of macro 'M_UDRx'
const uint8_t c = M_UDRx;
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static int MarlinSerial::peek()':
MarlinSerial.cpp:247: error: 'rx_buffer' was not declared in this scope
const int v = rx_buffer.head == rx_buffer.tail ? -1 : rx_buffer.buffer[rx_buffer.tail];
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static int MarlinSerial::read()':
MarlinSerial.cpp:255: error: 'rx_buffer' was not declared in this scope
const uint8_t t = rx_buffer.tail;
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static uint8_t MarlinSerial::available()':
MarlinSerial.cpp:268: error: 'rx_buffer' was not declared in this scope
const uint8_t h = rx_buffer.head,
^
MarlinSerial.cpp:271: error: 't' was not declared in this scope
return (uint8_t)(RX_BUFFER_SIZE + h - t) & (RX_BUFFER_SIZE - 1);
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::flush()':
MarlinSerial.cpp:282: error: 'rx_buffer' was not declared in this scope
rx_buffer.head = rx_buffer.tail;
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:33:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::write(uint8_t)':
MarlinSerial.h:56: error: 'UCSR5A' was not declared in this scope
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\macros.h:97:22: note: in definition of macro 'TEST'
#define TEST(n,b) (((n)&_BV(b))!=0)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:360:20: note: in expansion of macro 'M_UCSRxA'
while (!TEST(M_UCSRxA, M_UDREx))
^
In file included from c:\users\gisal\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\fastio.h:32,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinConfig.h:26,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:35,
from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:
MarlinSerial.h:62: error: 'UDRE5' was not declared in this scope
#define M_UDREx SERIAL_REGNAME(UDRE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:360:15: note: in expansion of macro 'TEST'
while (!TEST(M_UCSRxA, M_UDREx))
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:62:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UDREx SERIAL_REGNAME(UDRE,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:360:30: note: in expansion of macro 'M_UDREx'
while (!TEST(M_UCSRxA, M_UDREx))
^
In file included from C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:32:0:
MarlinSerial.h:64: error: 'UDR5' was not declared in this scope
#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.h:64:28: note: in expansion of macro 'SERIAL_REGNAME'
#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)
^
C:\Users\gisal\AppData\Local\Temp\arduino_build_134620\sketch\MarlinSerial.cpp:362:7: note: in expansion of macro 'M_UDRx'
M_UDRx = c;
^
exit status 1
'rx_buffer' was not declared in this scope
Edited 1 time(s). Last edit at 08/04/2017 01:49AM by Bee69.
Edit Reply Quote Report
Newer Topic Older Topic
Print View Mark Read Follow Topic RSS
Author:
Bee69