[En-Nut-Discussion] Medianut2 samples not compiling

x1 x1 at comcast.net
Mon Aug 25 16:18:37 CEST 2008


Hi all,
I am unable to get a clean compile for the Medianut 2 and my 3.0e board
using the sample program:
enut30e-media2vs10xx.zip

The precompiled program works.  Also I have the same result with
enut30e-musicbox.zip.
Other demos which do not use the Medianut are compiling and working fine.

Here is the output from the compiler:
--------------------------------------------------------------------------
N:\ethernutARMmedia\nutapp\media2vs10xx>nutmake
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wa
ll -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=vs10xx.ls
t -DETHERNUT3 -I../../nutbld/include  -I../../nut/include -I./firmware/atmeg
a168 vs10xx.c -o vs10xx.o
vs10xx.c: In function 'VsSdiPutByte':
vs10xx.c:728: warning: implicit declaration of function 'SdiByte'
vs10xx.c: In function 'VsPlayerThrottle':
vs10xx.c:795: warning: implicit declaration of function 'SdiDeselect'
vs10xx.c:799: warning: implicit declaration of function 'SdiSelect'
vs10xx.c: In function 'VsSciSelect':
vs10xx.c:827: error: too few arguments to function 'Sbbi0NegSelectDevice'
vs10xx.c:831: error: too few arguments to function 'Sbbi0NegDeselectDevice'
vs10xx.c: In function 'VsPlayerInit':
vs10xx.c:1114: error: expected expression before ',' token
vs10xx.c:1121: error: too few arguments to function 'Sbbi0NegDeselectDevice'
vs10xx.c:1124: warning: implicit declaration of function 'SdiSetMode'
vs10xx.c:1127: warning: implicit declaration of function 'SdiSetSpeed'
vs10xx.c:1154: error: expected expression before ',' token
make: *** [vs10xx.o] Error 1

N:\ethernutARMmedia\nutapp\media2vs10xx>
----------------------------------------------------------------------------
----

One thing I noticed is that during the Nut/OS configuration process (used
ethernut30e.conf) is that
 several of the selected options are not enabled, which may have not enabled
the software SPI correctly.
"Command Software SPI0" was one of them.


A lot of this is still new to me, such as how to use the beta version 4.70.
so I may need an answer broken down into easy steps.

Thank You
Tim C



Environment:
Windows XP
GNUARM 4.2.2
NutOS 4.6.0
Ethernut 3.0e
Medianut 2.0 revD




More information about the En-Nut-Discussion mailing list