[En-Nut-Discussion] Using RS485 With Ethernut 2

JayOmega rgiust at componentengineering.com
Sat Oct 13 00:25:41 CEST 2007


I'm trying to get the RS485 port working on my Ethernut 2.1b board.   I went
to the webpage,  Using RS485 With Ethernut 2, that describes the step by
step process.  In the "System Software" section of the directions that say,
"Start the Nut/OS Configurator, load ethernut21b.conf and modify the UART1
driver settings as shown in the screenshot below."

  

http://www.nabble.com/file/p13184040/test_rs485_03.png  




I'm not able to build the Nut/OS due to several errors associated with
usartavr.c, UART_HDX_PORT and UART_RTS_BIT are both undefined.   Am I
missing something?


 In function 'AvrUsartTxComplete':
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:214: error: 'UART_HDX_PORT'
undeclared (first use in this function)
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:214: error: (Each undeclared
identifier is reported only once
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:214: error: for each function
it appears in.)
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:214: error: expected
expression before ')' token
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c: In function
'AvrUsartSetFlowControl':
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1201: error: 'UART_HDX_PORT'
undeclared (first use in this function)
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1201: error: expected
expression before ')' token
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1202: error: 'UART_HDX_DDR'
undeclared (first use in this function)
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1202: error: expected
expression before ')' token
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1212: error: expected
expression before ')' token
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c: In function
'AvrUsartTxStart':
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1237: error: 'UART_HDX_PORT'
undeclared (first use in this function)
C:/ethernut-4.4.0/nut/arch/avr/dev/usartavr.c:1237: error: expected
expression before ')' token
make[1]: *** [avr/dev/usart1avr.o] Error 1
make: *** [all] Error 2



-- 
View this message in context: http://www.nabble.com/Using-RS485-With-Ethernut-2-tf4616354.html#a13184040
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.



More information about the En-Nut-Discussion mailing list