[En-Nut-Discussion] Ethernut and Yagarto with more than 256k Code and Ethernut with the new yagarto compiler

Andre Riesberg andre at riesberg-net.de
Mon Apr 11 17:11:04 CEST 2011


Wiegelmann schrieb:
> Hey folks 
>
>  
>
> I have multiple problems with yagarto and the EIR Board (SAM7SE512). We reached 256k of code with NutOS 4.7.4 and yagarto 29.3.09.
>
> The problem was now, that constants in ROM are not readable anymore. To solve this problem, we switched to Yagarto 28.3.11 and the result was,
>
> that initated variables have wrong Values (e.g. 36 instead of 0). We switched also to the newest NutOS 4.8 with no positive result. 
>
> It was necessary to remove -Werror in the makefile because of  a lot of warnings like this:
>
> -----------------------------------------------------------------------
>
> make[1]: *** [arm/dev/at91_ahdlc.o] Error 1
>
> make: *** [all] Error 2
>
> 15:00:38: ----- 'make all' failed with error 2 -----
>
> 15:00:46: ----- Running 'make install' -----
>
> 15:00:46: Located C:\Projekte\Ethernut\nut\tools\win32\make.exe
>
> C:/Projekte/Ethernut/nut/arch/arm/dev/at91_ahdlc.c: In function 'AhdlcAt91IOCtl':
>
> C:/Projekte/Ethernut/nut/arch/arm/dev/at91_ahdlc.c:736:13: error: variable 'devnum' set but not used [-Werror=unused-but-set-variable]
>
> cc1.exe: all warnings being treated as errors
>
> --------------------------------------------------------------------
>
>  
>
> Does anyone has an idea what is going wrong?
>
>  
>
> Thany you Joerg 
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
>
>   
Hi Joerg,

sorry, I read your mail too fast...

Removing warning is not a good idear. You must found the root cause of 
this warnings. But in this case the warning is correct.
Do you use a different makefile?
Is the old NutOS folder still on your drive? If yes, try to rename the 
folder.

Greetings
André


More information about the En-Nut-Discussion mailing list