|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Medianut2 samples not compilingHi 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 _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Medianut2 samples not compilingx1 wrote:
> I am unable to get a clean compile for the Medianut 2 and my 3.0e board > using the sample program: Sorry for not responding earlier. Probably the configuration needs to be adjusted for Ethernut 3 with Medianut 2. We need to test this here first with the current Nut/OS version and I'll try to come back to you ASAP. Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Medianut2 samples not compilingx1 wrote: > I am unable to get a clean compile for the Medianut 2 and my 3.0e board > using the sample program: Short question: Did you change your configuration as described at http://www.ethernut.de/en/hardware/medianut2/ I assume that this should solve your problem. Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
|
|
|
Re: Medianut2 samples not compilingx1 wrote:
> The differences were the options had been selected but not enabled (grayed > out) Confirmed. > is as far as I got since my focus is to work with the V3.0e board and the > Medianut 2. I'm currently looking into it. So far I had been able to make it work with Nut/OS 4.5.0. Please give me a bit more time to figure out what has changed here. Thanks for your patience. Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Medianut2 samples not compilingHarald Kipp wrote: > x1 wrote: >> The differences were the options had been selected but not enabled (grayed >> out) > > Confirmed. Obviously the Configurator causes the trouble. For example, we have 2 entries for SBBI0_SCK_BIT, one for the AVR and a second for the ARM. In the Configurator Tree the ARM specific is replaced with the AVR type. Luckily the latest Configurator in CVS HEAD can handle this. I'll try to adjust the Lua scripts. In the meantime you may try an older version of the Configurator, like the one from Ethernut package 4.4.1. Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
| Free Forum Powered by Nabble | Forum Help |