A very stranous problem with Atmega323 demo

I have a very stranous problem with Freertos. I have all version of Freertos. I use winavr WinAVR_20060421 I coompile without problem Freertos from version 3.23 to version 4.01. Problem start with 4.02 and next. Simply I cancel the the freertos directory of previous version and unzip the new version. Then I launch Programmer Notepad and open the makefile of demo example for atmega323. Then "Make all" from the menù tools. And here there is the problem. In the output window of "Programmer Notepad" I see a very long list that never end and repeat continuosly. And in the "task manager" in the tab "Process" I have many session of process "make" that increment always…10 session ..11..13..and so on. I’m unable to compile Freertos version from 4.02 to 4.20 Thank you

A very stranous problem with Atmega323 demo

Will it build if you run make from the command prompt?

A very stranous problem with Atmega323 demo

No. It is the same thing. I look a lot of messages , always the same messaeg that repeat forever.But compiling does not start( no messages relative to compiling section). Thank you

A very stranous problem with Atmega323 demo

Sounds like could be a cygwin – gcc – make incompatability somewhere.

A very stranous problem with Atmega323 demo

Can you try doing a "make clean" first. I have just compiled the V4.2.0 code with no problems. avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/comtest.lst  -std=gnu99 ../Common/Minimal/comtest.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../Common/Minimal/comtest.d; [ -s ../Common/Minimal/comtest.d ] || rm -f ../Common/Minimal/comtest.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/PollQ.lst  -std=gnu99 ../Common/Minimal/PollQ.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../Common/Minimal/PollQ.d; [ -s ../Common/Minimal/PollQ.d ] || rm -f ../Common/Minimal/PollQ.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/integer.lst  -std=gnu99 ../Common/Minimal/integer.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../Common/Minimal/integer.d; [ -s ../Common/Minimal/integer.d ] || rm -f ../Common/Minimal/integer.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/crflash.lst  -std=gnu99 ../Common/Minimal/crflash.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../Common/Minimal/crflash.d; [ -s ../Common/Minimal/crflash.d ] || rm -f ../Common/Minimal/crflash.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/portable/GCC/ATMega323/port.lst  -std=gnu99 ../../Source/portable/GCC/ATMega323/port.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../../Source/portable/GCC/ATMega323/port.d; [ -s ../../Source/portable/GCC/ATMega323/port.d ] || rm -f ../../Source/portable/GCC/ATMega323/port.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/portable/MemMang/heap_1.lst  -std=gnu99 ../../Source/portable/MemMang/heap_1.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../../Source/portable/MemMang/heap_1.d; [ -s ../../Source/portable/MemMang/heap_1.d ] || rm -f ../../Source/portable/MemMang/heap_1.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/croutine.lst  -std=gnu99 ../../Source/croutine.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../../Source/croutine.d; [ -s ../../Source/croutine.d ] || rm -f ../../Source/croutine.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/list.lst  -std=gnu99 ../../Source/list.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../../Source/list.d; [ -s ../../Source/list.d ] || rm -f ../../Source/list.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/queue.lst  -std=gnu99 ../../Source/queue.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../../Source/queue.d; [ -s ../../Source/queue.d ] || rm -f ../../Source/queue.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/tasks.lst  -std=gnu99 ../../Source/tasks.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ../../Source/tasks.d; [ -s ../../Source/tasks.d ] || rm -f ../../Source/tasks.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=regtest.lst  -std=gnu99 regtest.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > regtest.d; [ -s regtest.d ] || rm -f regtest.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=serial/serial.lst  -std=gnu99 serial/serial.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > serial/serial.d; [ -s serial/serial.d ] || rm -f serial/serial.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=ParTest/ParTest.lst  -std=gnu99 ParTest/ParTest.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > ParTest/ParTest.d; [ -s ParTest/ParTest.d ] || rm -f ParTest/ParTest.d set -e; avr-gcc -MM -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=main.lst  -std=gnu99 main.c | sed ‘s,\(.*\)\.o[ :]*,1.o 1.d : ,g’ > main.d; [ -s main.d ] || rm -f main.d -——- begin ——– avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=main.lst  -std=gnu99 main.c -o main.o Compiling: ParTest/ParTest.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=ParTest/ParTest.lst  -std=gnu99 ParTest/ParTest.c -o ParTest/ParTest.o Compiling: serial/serial.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=serial/serial.lst  -std=gnu99 serial/serial.c -o serial/serial.o Compiling: regtest.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=regtest.lst  -std=gnu99 regtest.c -o regtest.o Compiling: ../../Source/tasks.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/tasks.lst  -std=gnu99 ../../Source/tasks.c -o ../../Source/tasks.o Compiling: ../../Source/queue.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/queue.lst  -std=gnu99 ../../Source/queue.c -o ../../Source/queue.o Compiling: ../../Source/list.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/list.lst  -std=gnu99 ../../Source/list.c -o ../../Source/list.o Compiling: ../../Source/croutine.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/croutine.lst  -std=gnu99 ../../Source/croutine.c -o ../../Source/croutine.o Compiling: ../../Source/portable/MemMang/heap_1.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/portable/MemMang/heap_1.lst  -std=gnu99 ../../Source/portable/MemMang/heap_1.c -o ../../Source/portable/MemMang/heap_1.o Compiling: ../../Source/portable/GCC/ATMega323/port.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../../Source/portable/GCC/ATMega323/port.lst  -std=gnu99 ../../Source/portable/GCC/ATMega323/port.c -o ../../Source/portable/GCC/ATMega323/port.o Compiling: ../Common/Minimal/crflash.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/crflash.lst  -std=gnu99 ../Common/Minimal/crflash.c -o ../Common/Minimal/crflash.o Compiling: ../Common/Minimal/integer.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/integer.lst  -std=gnu99 ../Common/Minimal/integer.c -o ../Common/Minimal/integer.o Compiling: ../Common/Minimal/PollQ.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/PollQ.lst  -std=gnu99 ../Common/Minimal/PollQ.c -o ../Common/Minimal/PollQ.o Compiling: ../Common/Minimal/comtest.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=../Common/Minimal/comtest.lst  -std=gnu99 ../Common/Minimal/comtest.c -o ../Common/Minimal/comtest.o Linking: rtosdemo.elf avr-gcc -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Wa,-adhlns=main.o  -std=gnu99 main.o ParTest/ParTest.o serial/serial.o regtest.o ../../Source/tasks.o ../../Source/queue.o ../../Source/list.o ../../Source/croutine.o ../../Source/portable/MemMang/heap_1.o ../../Source/portable/GCC/ATMega323/port.o ../Common/Minimal/crflash.o ../Common/Minimal/integer.o ../Common/Minimal/PollQ.o ../Common/Minimal/comtest.o   –output rtosdemo.elf -Wl,-Map=rtosdemo.map,–cref -lm Creating load file for Flash: rtosdemo.hex avr-objcopy -O ihex -R .eeprom rtosdemo.elf rtosdemo.hex Creating load file for EEPROM: rtosdemo.eep avr-objcopy -j .eeprom –set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex rtosdemo.elf rtosdemo.eep Creating Extended Listing: rtosdemo.lss avr-objdump -h -S rtosdemo.elf > rtosdemo.lss Creating Symbol Table: rtosdemo.sym avr-nm -n rtosdemo.elf > rtosdemo.sym Size after: rtosdemo.elf  : section            size      addr .text             10090         0 .data                80   8388704 .bss               1671   8388784 .noinit               0   8390455 .eeprom               0   8454144 .stab               876         0 .stabstr            132         0 .debug_aranges      280         0 .debug_pubnames    1812         0 .debug_info       10614         0 .debug_abbrev      3537         0 .debug_line       11459         0 .debug_str         4722         0 .debug_ranges        12     10090 Total             45285 Errors: none -——- end ——–