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

Wiegelmann, Jörg Joerg.Wiegelmann at ces-tronics.de
Mon Apr 11 16:03:25 CEST 2011


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 




More information about the En-Nut-Discussion mailing list