|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
nutconfigure and MCU-typeResent due to msg size on 1st try.. Sorry!
Hello! After a long period of Ethernut "Quiteness" I tried to resurrect my Ethernut 2 today and started to compile the new (4.8 , 4.9) Nut/OS versions. I came across a strange error: When using Nutconfigure, I receive an error "unknown MCU `Enhanced' specified" when compiling for the Ethernut 2.1 board starting with Nut/OS version 4.8.4 The script output looks like: D:\DRV-NUT\ethernut_4.8.4>path=D:\DRV-NUT\ethernut_\nut\tools\win32;D:\DRV-N UT\winavr_4.2.2\bin;D:\DRV-NUT\winavr_4.2.2\utils\bin;C:\windows\system32;C: \windows\system32\wbem; D:\DRV-NUT\ethernut_4.8.4>nutconfigure -a./nutapp_avr_4.2.2 -c./nut/conf/ethernut21b.conf -mavr-gcc -b./nutbld_avr_4.2.2 create-buildtree nutconfigure 2.0.7 Loading ./nut/conf/repository.nut...OK Loading ./nut/conf/ethernut21b.conf...OK Creating Makefiles for avr-gcc in ./nutbld_avr_4.2.2...OK Creating header files in ./nutbld_avr_4.2.2...OK D:\DRV-NUT\ethernut_4.8.4>cd nutbld_avr_4.2.2 D:\DRV-NUT\ethernut_4.8.4\nutbld_avr_4.2.2>make clean 1>makeclean.txt D:\DRV-NUT\ethernut_4.8.4\nutbld_avr_4.2.2>make install 1>..\c484c422avr.txt unknown MCU 'Enhanced' specified Known MCU names: avr2 at90s2313 at90s2323 at90s2333 at90s2343 ... ------------------- When using nutconf, the output looks OK (after I set the CPU type and save the .conf file) 19:23:00: Nut/OS Configurator Version 2.0.8 19:23:00: Linked to wxWidgets 2.8.9 19:23:00: Running on Windows XP (build 2600, Service Pack 2) 19:23:00: Working in D:\DRV-NUT\ethernut_4.8.4 19:23:14: Loading nut/conf/repository.nut 19:23:14: Loading D:/DRV-NUT/ethernut_4.8.4/nut/conf/ethernut21b.conf 19:23:15: OK 19:27:09: Creating Makefiles for avr-gcc in nutbld 19:27:09: Creating header files in nutbld 19:27:09: OK 19:27:11: ----- Running 'make clean' ----- 19:27:11: Located d:\drv-nut\ethernut_4.8.4\nut\tools\win32\make.exe 19:27:18: ----- 'make clean' terminated successfully ----- 19:27:18: ----- Running 'make all' ----- 19:27:18: Located d:\drv-nut\ethernut_4.8.4\nut\tools\win32\make.exe E:\DOKUME~1\es\LOKALE~1\Temp/ccqNECuE.s: Assembler messages: E:\DOKUME~1\es\LOKALE~1\Temp/ccqNECuE.s:991: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccqNECuE.s:992: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccEDTA96.s: Assembler messages: E:\DOKUME~1\es\LOKALE~1\Temp/ccEDTA96.s:475: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccEDTA96.s:476: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccLwUzh5.s: Assembler messages: E:\DOKUME~1\es\LOKALE~1\Temp/ccLwUzh5.s:428: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccLwUzh5.s:429: Warning: expression dangerous with linker stubs avr-ar: creating libnutarch.a avr-ar: creating libnutos.a E:\DOKUME~1\es\LOKALE~1\Temp/ccPHNz7g.s: Assembler messages: E:\DOKUME~1\es\LOKALE~1\Temp/ccPHNz7g.s:214: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccPHNz7g.s:215: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccqwK9wb.s: Assembler messages: E:\DOKUME~1\es\LOKALE~1\Temp/ccqwK9wb.s:884: Warning: expression dangerous with linker stubs E:\DOKUME~1\es\LOKALE~1\Temp/ccqwK9wb.s:885: Warning: expression dangerous with linker stubs avr-ar: creating libnutdev.a avr-ar: creating libnutc.a avr-ar: creating libnutcrt.a avr-ar: creating libnutgorp.a avr-ar: creating libnutnet.a avr-ar: creating libnutpro.a avr-ar: creating libnutfs.a avr-ar: creating libnutcpp.a avr-ar: creating libnutlua.a avr-ar: creating libnutcontrib.a 19:28:49: ----- 'make all' terminated successfully ----- 19:28:49: ----- Running 'make install' ----- 19:28:49: Located d:\drv-nut\ethernut_4.8.4\nut\tools\win32\make.exe 19:28:54: ----- 'make install' terminated successfully ----- 19:29:28: Copying samples from nut/app to nutapp 19:29:30: Translating ICCAVR projects from nut/appicc to nutapp 19:29:30: Creating Makefiles for avr-gcc in nutapp 19:29:30: OK ------------------ I summarized the findings: Version 4.8.0 4.8.2 4.8.4 4.9.2 4.9.6 AVR 341 nsf stdint.h nsf stdint.h Enhanced Enhanced Enhanced AVR 343 int_fast8_t udef int_fast8_t udef Enhanced Enhanced Enhanced AVR 345 Cannot exec cc1 Cannot exec cc1 Cannot exec cc1 Cannot exec cc1 Cannot exec cc1 AVR 346 Cannot exec cc1 Cannot exec cc1 Cannot exec cc1 Cannot exec cc1 Cannot exec cc1 AVR 411 OK OK Enhanced Enhanced Enhanced AVR 412 OK OK Enhanced Enhanced Enhanced AVR 422 Linker warnings Linker warnings Enhanced Enhanced Enhanced AVR 430 OK OK Enhanced Enhanced Enhanced AVR 432 OK OK Enhanced Enhanced context_icc.o error Notes: Problems with regedit cause the "Cannot exec cc1" nsf .. no such file Enhanced .. error in mcu type I could not find what did change between 4.8.2 and 4.8.4 which could cause this error. Any ideas? regards Ernst _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: nutconfigure and MCU-typeHi Ernst,
Ernst Stippl wrote: > Resent due to msg size on 1st try.. Sorry! No problem. In these cases I receive a forward and will confirm the post. It may take some time, though. > I came across a strange error: When using Nutconfigure, I receive an error > "unknown MCU `Enhanced' specified" when compiling for the Ethernut 2.1 > board starting with Nut/OS version 4.8.4 This a bug in the packaging script http://ethernut.svn.sourceforge.net/viewvc/ethernut/trunk/nut/tools/packaging/distcheck.lua It modifies the configuration files to build the libraries for different compilers. Instead of packing the original files, it then packs the last modified ones. You can manually fix this by removing ICCAVR = "" ICCAVR_STARTUP = "crtenutram" and changing -- AVR_GCC = "" back to AVR_GCC = "" Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
| Free embeddable forum powered by Nabble | Forum Help |