USART defines undefined.

Bug #523860 reported by B. Gian James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmunix
Fix Committed
Critical
Unassigned

Bug Description

USART defines (USCR0B, UDR0, etc) undefined currently in library.

usart.h: In member function 'void USART::EnableInterrupt(uint8)':
usart.h:68: error: 'UCSR0B' was not declared in this scope
usart.h:68: error: 'RXCIE0' was not declared in this scope
usart.h:69: error: 'UCSR0B' was not declared in this scope
usart.h:69: error: 'TXCIE0' was not declared in this scope
usart.h: In member function 'void USART::tx(char)':
usart.h:72: error: 'UCSR0A' was not declared in this scope
usart.h:72: error: 'UDRE0' was not declared in this scope
usart.h:73: error: 'UDR0' was not declared in this scope
usart.h: In member function 'char USART::rx()':
usart.h:77: error: 'UCSR0A' was not declared in this scope
usart.h:77: error: 'RXC0' was not declared in this scope
usart.h:78: error: 'UDR0' was not declared in this scope
usart.h: In member function 'void USART::WriteRAMStr(const char*)':
usart.h:83: error: 'UCSR0A' was not declared in this scope
usart.h:83: error: 'UDRE0' was not declared in this scope
usart.h:84: error: 'UDR0' was not declared in this scope
usart.h: In member function 'void USART::WriteLine(const char*)':
usart.h:90: error: 'UCSR0A' was not declared in this scope
usart.h:90: error: 'UDRE0' was not declared in this scope
usart.h:91: error: 'UDR0' was not declared in this scope
usart.cpp: In member function 'virtual bool USART::Connect()':
usart.cpp:230: error: 'UCSR0B' was not declared in this scope
usart.cpp:230: error: 'RXEN0' was not declared in this scope
usart.cpp:231: error: 'UCSR0B' was not declared in this scope
usart.cpp:231: error: 'TXEN0' was not declared in this scope
usart.cpp:233: error: 'UL' was not declared in this scope
usart.cpp:235: error: 'UBRR0L' was not declared in this scope
usart.cpp:236: error: 'UBRR0H' was not declared in this scope

Tags: design
Changed in libmunix:
importance: Undecided → Critical
Revision history for this message
B. Gian James (gian.james) wrote :

Fixed in current trunk version.

Changed in libmunix:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.