Quality RTOS & Embedded Software

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




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) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists