[En-Nut-Discussion] configuring Nut/OS for ethernut 3 rev E board
jakub nowak
jdnowak at gmail.com
Fri Mar 28 18:18:40 CET 2008
Did You add GCC to Path in Windows? I've had very similiar problem
when the directory of GCC has something more than GCC in name.
2008/3/28, John Lammertyn <firsthightower at hotmail.com>:
>
> hi,
>
> I'm not able to build the Nut/OS configuration on a correct way.
> I select the GCC for ARM in Tools and in the GCC settings I enable the ARM linker Script.
> In the menu: Edit/Settings... these are my settings:
>
> - Repository: C:\ethernut-4.4.0\nut\conf\repository.nut
> - Build: --> Source Directory: C:\ethernut-4.4.0\nut
> Platform : arm-gcc
> --> Build Directory: C:\ethernut-4.4.0\nutbld
> --> Install Directory: C:\ethernut-4.4.0\nutbld\lib
> - Tools: c:\ethernut-4.4.0\nut\tools\win32;c:\GNUARM\bin;c:\GNUARM\arm-elf\bin;;
> (i think here's the problem!!)
> - Samples: C:\ethernut-4.4.0\nutapp
> Programmer: arm-jom
>
> When i try to do the same for an AVR (supposed using ethernut 1 board) and I install WinAVR, refer to the bin's in the "Tools"-settings, then everything is working just fine.
>
> Does anyone got some advise for me as a noob on this? :-)
>
> this is the error I get - if it should help..
>
> After pressing on the Build / Build Nut/OS i get next error:
> 17:20:52: Creating Makefiles for arm-gcc in C:/ethernut-4.4.0/nutbld
> 17:20:52: Creating header files in C:/ethernut-4.4.0/nutbld
> 17:20:52: OK
> 17:20:52: ----- Running 'make clean' -----
> 17:20:52: Located c:\ethernut-4.4.0\nut\tools\win32\make.exe
> 17:20:54: ----- 'make clean' terminated successfully -----
> 17:20:54: ----- Running 'make all' -----
> 17:20:54: Located c:\ethernut-4.4.0\nut\tools\win32\make.exe
> arm-elf-ar: creating libnutarch.a
> arm-elf-ar: creating libnutos.a
> In file included from C:/ethernut-4.4.0/nut/os/nutinit.c:133:
> C:/ethernut-4.4.0/nut/os/../arch/arm/os/nutinit.c: In function 'NutInit':
> C:/ethernut-4.4.0/nut/os/../arch/arm/os/nutinit.c:226: error: 'NUTMEM_START' undeclared (first use in this function)
> C:/ethernut-4.4.0/nut/os/../arch/arm/os/nutinit.c:226: error: (Each undeclared identifier is reported only once
> C:/ethernut-4.4.0/nut/os/../arch/arm/os/nutinit.c:226: error: for each function it appears in.)
> make[1]: *** [nutinit.o] Error 1
> make: *** [all] Error 2
> 17:21:13: ----- 'make all' failed with error 2 -----
>
>
> _________________________________________________________________
> In a rush? Get real-time answers with Windows Live Messenger.
> http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list