FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2010 Threads] FreeRTOS + GCC and ATmega32 problemPosted by Hiren Shah on May 14, 2010 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: *** [rtosdemo.elf] Error 1
RE: FreeRTOS + GCC and ATmega32 problemPosted by woops_ on May 14, 2010 can you build the demo makefile unmodified? Have you got tasks.c in your makefile?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|