[En-Nut-Discussion] UART1
Hermann Schulz Firma
hs at ehse.de
Tue Mar 21 10:35:25 CET 2006
Hello group,
I use Ethernut 2.1 Version 4.0.3 and the AVR Icc V7 Compiler.
Compiler Switch: ETHERNUT2 __MCU_enhanced __HARVARD_ARCH__
CPU AT Mega 128
Include <board.h>
Now I have a problem with the UART1.
NutRegisterDevice(&DEV_UART0, 0, 0);
NutRegisterDevice(&DEV_UART1, 0, 0);
ERROR:
!E C:\AVR_ICC7_Projekte\Steuerung\tcps.c(1527): undeclared identifier
`devUsartAvr1'
!E C:\AVR_ICC7_Projekte\Steuerung\tcps.c(1527): type error in argument 1 to
`NutRegisterDevice'; found `pointer to int' expected `pointer to struct
_NUTDEVICE'
C:\iccv7avr\bin\imakew.exe: Error code 1
Can anybody give me a hint?
regards
Hermann
More information about the En-Nut-Discussion
mailing list