WinAVR 20100110 memory use summary

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In AVRStudio 4.19-730 with Winavr 20100110 when I do "Build" in build window i don't see the "memory use summary" but only:

Build succeeded with 0 Warnings...

how i can set on this linker option ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just run avr-size separately. Use the -C and an -mcu option to get the "best" style of output.

To be honest you might be better off simply upgrading to AS6.1 which includes avr-gcc 4.7.2.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Fail to see any relations to AVR Software Framework :roll: moving to AS4 forum.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nothing.... with avrstudio 4.17.666 works,
with avrstudio 4.19.730 nothing

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
how i can set on this linker option ?

It's not a linker option. It is done after linking.

Atmel broke some things in AVR Studio 4.19. This might be one of them.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

This might be one of them.

It is.

As I said above - just run it separately.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

To be honest you might be better off simply upgrading to AS6.1 which includes avr-gcc 4.7.2.

I've seen that it's better ma AS4 is lighter and faster, and i must do only 8bit MC :roll:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I've seen that it's better ma AS4 is lighter and faster, and i must do only 8bit MC

Sorry but what's the problem? AS6 does 8bit AVRs at least as well as AS4+WinAVR ever did.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You have three options:

1. Run AS 4.19 as you do now. Accept that Atmel has broken the memory report. They will not fix it. AS4.* is a dead product and has not been maintained for several years, and will not be in the future. Run avr-size separately.

2. Downgrade to AS4.18 which was before Atmel broke the memory report. Live with the ancient-ness of this version.

3. Upgrade to AS6.1 (which does 8-bit AVRs just fine). The download is huge, and requires substantial disk space. You will have to re-learn some things, since AS6 is different from AS4 but for the AVR code there are very small differences, most all to AS6's advantage.

These are you options. Pick one. Be done with it.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I try to compile with AS6 but i have this error

terminal2.elf section .text will not fit in region textregion text overflowed by 1006 bytes		make: *** [terminal2.elf] Error 1

but with AS4 compiler was right.
Where is the difference with old compiler?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After a build, switch over to the Output tab in AS6. There is the complete build output. Mark it all, copy it and paste it in a post here. That way we have a good chance of catching what went wrong.

Did you set the AS6 project up for the correct AVR model?
Have you set the compiler to optimize?
Are you using floating point math without linking with libm.a?

If you can't answer those questions we can if we get to see the build output.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
------ Build started: Project: terminal2, Configuration: default AVR ------
Build started.
Project "terminal2.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Programmi\Atmel\Atmel Studio 6.1\Vs\Compiler.targets" from project "C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\terminal2.cproj" (target "Build" depends on it):
	Using "RunCompilerTask" task from assembly "C:\Programmi\Atmel\Atmel Studio 6.1\Extensions\Application\AvrGCC.dll".
	Task "RunCompilerTask"
		C:\Programmi\Atmel\Atmel Studio 6.1\shellUtils\make.exe all 
		Building file: .././Inits.c
		Invoking: AVR/GNU C Compiler : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe"  -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega8 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "Inits.d" -MT"Inits.d" -MT"Inits.o"   -o "Inits.o" ".././Inits.c"
		.././Inits.c: In function 'Init_EEprom':
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(64,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(65,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(66,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(68,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(69,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(71,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(75,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(76,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(79,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(83,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Inits.c(84,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
		Finished building: .././Inits.c
		Building file: .././lib_lcd.c
		Invoking: AVR/GNU C Compiler : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe"  -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega8 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "lib_lcd.d" -MT"lib_lcd.d" -MT"lib_lcd.o"   -o "lib_lcd.o" ".././lib_lcd.c"
		Finished building: .././lib_lcd.c
		Building file: .././Routines.c
		Invoking: AVR/GNU C Compiler : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe"  -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega8 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "Routines.d" -MT"Routines.d" -MT"Routines.o"   -o "Routines.o" ".././Routines.c"
		.././Routines.c: In function 'inout':
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Routines.c(162,1): unused variable 'j'
		Finished building: .././Routines.c
		Building file: .././Terminal.c
		Invoking: AVR/GNU C Compiler : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe"  -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega8 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "Terminal.d" -MT"Terminal.d" -MT"Terminal.o"   -o "Terminal.o" ".././Terminal.c"
		.././Terminal.c: In function 'lettura_rpm_background':
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(75,1): passing argument 1 of 'atoi' discards qualifiers from pointer target type
		.././Terminal.c: In function 'write_pos_attuale':
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(85,1): passing argument 2 of 'ultoa' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(86,1): implicit declaration of function 'put_string_lcd'
		.././Terminal.c: In function 'main':
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(296,1): passing argument 1 of 'atoi' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(359,1): suggest parentheses around comparison in operand of |
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(359,1): suggest parentheses around comparison in operand of |
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(359,1): suggest parentheses around comparison in operand of |
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(359,1): suggest parentheses around comparison in operand of |
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(367,1): implicit declaration of function 'isdigit'
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(435,1): passing argument 1 of 'atoi' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(448,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(448,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(449,1): passing argument 2 of 'itoa' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(478,1): passing argument 1 of 'atoi' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(479,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(479,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(488,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(489,1): passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(505,1): passing argument 1 of '__eerd_dword_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(506,1): passing argument 2 of 'ultoa' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(535,1): passing argument 1 of 'atol' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(536,1): passing argument 1 of '__eewr_dword_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(553,1): passing argument 1 of '__eerd_dword_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(555,1): passing argument 2 of 'ultoa' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(577,1): passing argument 2 of 'itoa' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(584,1): passing argument 1 of 'com1_str' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(598,1): passing argument 2 of 'ultoa' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(607,1): passing argument 1 of 'com1_str' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(637,1): passing argument 1 of 'com1_str' discards qualifiers from pointer target type
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(667,1): passing argument 1 of '__eerd_dword_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\Terminal.c(680,1): passing argument 2 of 'utoa' discards qualifiers from pointer target type
		Finished building: .././Terminal.c
		Building file: .././TimerRTC.c
		Invoking: AVR/GNU C Compiler : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe"  -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega8 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "TimerRTC.d" -MT"TimerRTC.d" -MT"TimerRTC.o"   -o "TimerRTC.o" ".././TimerRTC.c"
		.././TimerRTC.c: In function 'Keyboard':
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\TimerRTC.c(143,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\TimerRTC.c(157,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\TimerRTC.c(171,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\TimerRTC.c(185,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
C:\Documents and Settings\icio\Desktop\progetti sul desktop\PROTEL DXP\AZIONAMENTI\BRUSHLESS PCB E FIRMWARE\firmware\Nuova cartella\terminal2\TimerRTC.c(199,1): passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
		Finished building: .././TimerRTC.c
		Building file: .././Usart.c
		Invoking: AVR/GNU C Compiler : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe"  -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega8 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "Usart.d" -MT"Usart.d" -MT"Usart.o"   -o "Usart.o" ".././Usart.c"
		Finished building: .././Usart.c
		Building target: terminal2.elf
		Invoking: AVR/GNU Linker : 20100110.0
		"C:\WinAVR-20100110\bin\avr-gcc.exe" -o terminal2.elf  Inits.o lib_lcd.o Routines.o Terminal.o TimerRTC.o Usart.o   -Wl,-Map="terminal2.map" -Wl,--start-group  -Wl,--end-group -Wl,--gc-sections -mmcu=atmega8 -Wl,-u,vfprintf 
terminal2.elf section .text will not fit in region textregion text overflowed by 1006 bytes		make: *** [terminal2.elf] Error 1
	Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "terminal2.cproj" -- FAILED.
Done building project "terminal2.cproj" -- FAILED.

Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

with as4 :

Build started 9.12.2013 at 01:31:41
avr-gcc  -mmcu=atmega8 -Wall -gdwarf-2 -std=gnu99                                       -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT Terminal.o -MF dep/Terminal.o.d  -c  ../Terminal.c
../Terminal.c: In function 'lettura_rpm_background':
../Terminal.c:75: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type
../Terminal.c: In function 'write_pos_attuale':
../Terminal.c:85: warning: passing argument 2 of 'ultoa' discards qualifiers from pointer target type
../Terminal.c:86: warning: implicit declaration of function 'put_string_lcd'
../Terminal.c: In function 'main':
../Terminal.c:299: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type
../Terminal.c:362: warning: suggest parentheses around comparison in operand of |
../Terminal.c:362: warning: suggest parentheses around comparison in operand of |
../Terminal.c:362: warning: suggest parentheses around comparison in operand of |
../Terminal.c:362: warning: suggest parentheses around comparison in operand of |
../Terminal.c:370: warning: implicit declaration of function 'isdigit'
../Terminal.c:438: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type
../Terminal.c:451: warning: passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
../Terminal.c:451: warning: passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
../Terminal.c:452: warning: passing argument 2 of 'itoa' discards qualifiers from pointer target type
../Terminal.c:481: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type
../Terminal.c:482: warning: passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
../Terminal.c:482: warning: passing argument 1 of '__eewr_byte_m8' makes pointer from integer without a cast
../Terminal.c:491: warning: passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
../Terminal.c:492: warning: passing argument 1 of '__eerd_byte_m8' makes pointer from integer without a cast
../Terminal.c:508: warning: passing argument 1 of '__eerd_dword_m8' makes pointer from integer without a cast
../Terminal.c:509: warning: passing argument 2 of 'ultoa' discards qualifiers from pointer target type
../Terminal.c:538: warning: passing argument 1 of 'atol' discards qualifiers from pointer target type
../Terminal.c:539: warning: passing argument 1 of '__eewr_dword_m8' makes pointer from integer without a cast
../Terminal.c:556: warning: passing argument 1 of '__eerd_dword_m8' makes pointer from integer without a cast
../Terminal.c:558: warning: passing argument 2 of 'ultoa' discards qualifiers from pointer target type
../Terminal.c:580: warning: passing argument 2 of 'itoa' discards qualifiers from pointer target type
../Terminal.c:587: warning: passing argument 1 of 'com1_str' discards qualifiers from pointer target type
../Terminal.c:601: warning: passing argument 2 of 'ultoa' discards qualifiers from pointer target type
../Terminal.c:610: warning: passing argument 1 of 'com1_str' discards qualifiers from pointer target type
../Terminal.c:640: warning: passing argument 1 of 'com1_str' discards qualifiers from pointer target type
../Terminal.c:670: warning: passing argument 1 of '__eerd_dword_m8' makes pointer from integer without a cast
../Terminal.c:683: warning: passing argument 2 of 'utoa' discards qualifiers from pointer target type
avr-gcc -mmcu=atmega8 -Wl,-u,vfprintf  -Wl,-Map=terminal2.map Inits.o lib_lcd.o Routines.o Terminal.o TimerRTC.o Usart.o     -o terminal2.elf
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature  terminal2.elf terminal2.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex terminal2.elf terminal2.eep || exit 0
avr-objdump -h -S terminal2.elf > terminal2.lss
Build succeeded with 31 Warnings...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So setup AS6 to uses the 4.3.3 in WinAVR user the "Toolchain Flavours" feature.