[En-Nut-Discussion] Using RS485 With Ethernut 2
JayOmega
rgiust at componentengineering.com
Mon Oct 15 18:17:43 CEST 2007
I'm building with the Configurator, i.e. from the pull down menu I select
"Build->Build Nut/OS".
I have the following related to uart1 in 'include/cfg/arch/avrpio.h':
#ifndef UART1_HDX_BIT
#define UART1_HDX_BIT
#endif
If I type 'make all' from a DOS command line within nutBuild (...I'm not
sure this is how it should be done...) I get multiple errors associated with
UART_HDX_PORT and UART_HDX_DDR.
Harald Kipp wrote:
>
> 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?
>>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
>
--
View this message in context: http://www.nabble.com/Using-RS485-With-Ethernut-2-tf4616354.html#a13216230
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.
More information about the En-Nut-Discussion
mailing list