Dear Friends.
I am new to AVR controller. I am trying to make a simple code using its demo version. But I am not able to buils it successfully.
I got this error. Even I have tried to port it on Eclipse platform but not getting success.
Please help me out.
—– begin —–
avr-gcc (GCC) 4.3.3
Copyright (C) 2008 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.
Linking: rtosdemo.elf
avr-gcc -mmcu=atmega32 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../Common/include -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -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 ../../Source/tasks.o ../../Source/queue.o ../../Source/list.o ../../Source/portable/MemMang/heap_1.o ../../Source/portable/GCC/ATMega323/port.o ../Common/Minimal/flash.o ../Common/Minimal/integer.o ../Common/Minimal/PollQ.o ../Common/Minimal/comtest.o -output rtosdemo.elf -Wl,-Map=rtosdemo.map,-cref -lm
../../Source/portable/GCC/ATMega323/port.o: In function `vPortYieldFromTick’:
/home/student/Download/FreeRTOS/Demo/AVR_ATMega323_WinAVR/../../Source/portable/GCC/ATMega323/port.c:358: undefined reference to `vTaskIncrementTick’
/home/student/Download/FreeRTOS/Demo/AVR_ATMega323_WinAVR/../../Source/portable/GCC/ATMega323/port.c:359: undefined reference to `vTaskSwitchContext’
../../Source/portable/GCC/ATMega323/port.o: In function `vPortYield’:
/home/student/Download/FreeRTOS/Demo/AVR_ATMega323_WinAVR/../../Source/portable/GCC/ATMega323/port.c:341: undefined reference to `vTaskSwitchContext’
make: *** Error 1
FreeRTOS + GCC and ATmega32 problem
FreeRTOS + GCC and ATmega32 problem
can you build the demo makefile unmodified?
Have you got tasks.c in your makefile?
Have you got tasks.c in your makefile?