Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

FreeRTOS: ARM7_AT91SAM7X256_Eclipse Demo

Posted by Dirk Valentini on March 26, 2008
Hellor everybody,

I setup up eclipse and the FreeRTOS_ROOT variable and wanted to compile and link the project but I got several error messages. I am not firm with the arm architechture and the eclipse / yagarto package. What can I do to solve the following errors:

**** Build of configuration Default for project web_server ****

make all
arm-elf-gcc -c -g -O3 -Tatmel-rom.ld -I . -I ../../../Source/include -I ../../../Source/portable/GCC/ARM7_AT91SAM7S -I ../../Common/include -I ./webserver -I ../../Common/ethernet/uIP/uip-1.0/uip -I ./SrcAtmel -I ./USB -D SAM7_GCC -D THUMB_INTERWORK -mcpu=arm7tdmi -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -fomit-frame-pointer -mthumb-interwork -mthumb main.c -o main.o
main.c:78:22: error: FreeRTOS.h: No such file or directory
main.c:79:18: error: task.h: No such file or directory
main.c:82:21: error: partest.h: No such file or directory
In file included from main.c:83:
./USB/USBSample.h:58: error: expected ':', ',', ';', '}' or '__attribute__' before 'ulISR'
./USB/USBSample.h:87: error: expected ';', ',' or ')' before 'uxPriority'
main.c:85:20: error: BlockQ.h: No such file or directory
main.c:86:22: error: blocktim.h: No such file or directory
main.c:87:19: error: flash.h: No such file or directory
main.c:88:19: error: QPeek.h: No such file or directory
main.c:89:21: error: dynamic.h: No such file or directory
main.c: In function 'main':
main.c:127: error: 'configMINIMAL_STACK_SIZE' undeclared (first use in this function)
main.c:127: error: (Each undeclared identifier is reported only once
main.c:127: error: for each function it appears in.)
main.c:127: error: 'tskIDLE_PRIORITY' undeclared (first use in this function)
main.c: In function 'prvSetupHardware':
main.c:162: error: 'AT91C_BASE_AIC' undeclared (first use in this function)
main.c:168: error: 'AT91C_BASE_PMC' undeclared (first use in this function)
main.c:168: error: 'AT91C_ID_PIOA' undeclared (first use in this function)
main.c:169: error: 'AT91C_ID_PIOB' undeclared (first use in this function)
main.c:170: error: 'AT91C_ID_EMAC' undeclared (first use in this function)
main.c: In function 'vApplicationTickHook':
main.c:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulCallCount'
main.c:179: error: 'ulCallCount' undeclared (first use in this function)
main.c:179: error: 'ulErrorFound' undeclared (first use in this function)
main.c:179: error: 'pdFALSE' undeclared (first use in this function)
main.c:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulErrorFlashRate'
main.c:183: error: 'ulErrorFlashRate' undeclared (first use in this function)
main.c:183: error: 'portTICK_RATE_MS' undeclared (first use in this function)
main.c:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulNoErrorCheckRate'
main.c:187: error: 'ulNoErrorCheckRate' undeclared (first use in this function)
main.c:210: error: 'pdTRUE' undeclared (first use in this function)
make: *** [main.o] Error 1


It seems that there are still some problems with the root variable. I have copied the FreeRTOS folder into C:\CAD\FreeRTOS\ and put that path into the "linked Ressources" settings. Where could the reason for that problem be located? Any suggestions?

Best Regards



Dirk

RE: FreeRTOS: ARM7_AT91SAM7X256_Eclipse Demo

Posted by Dirk Valentini on March 26, 2008
Hello,

it's me again. I solved that problem. I had not choosed the specific demo folder for workspace. Now the project is build.

Thanks anyway


Dirk


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS