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

Harald Kipp harald.kipp at egnite.de
Sun Oct 14 11:08:17 CEST 2007


No problem here with Nut/OS Version 4.4.0. Are you building with the 
Configurator or on the command line?

If you select 'Half Duplex Bit' and double click on the file property 
'include/cfg/arch/avrpio.h' you should see the following two entries
 #ifndef UART1_HDX_BIT
 #define UART1_HDX_BIT 5
 #endif

 #ifndef UART1_HDX_AVRPORT
 #define UART1_HDX_AVRPORT AVRPORTD
 #endif

No need for UART_RTS_BIT to be defined for RS485.

Harald

JayOmega schrieb:
> 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?
>   




More information about the En-Nut-Discussion mailing list