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

Porting FreeRTOS LWIP Webserver on virtex-4

Posted by Anurag on March 30, 2012
Dear Sir
I am Porting FreeRTOS MicroBlaze_Spartan-6_EthernetLite on virtex-4 Board.I am getting issue.I am compling code for Virtex-4 Board.Here is XPS Project of Virtex-4 Board the xps_timer_0 is used while in Virtex-6 they used aix_timer_0 used.please guide how i can used xps_timer_0 for virtex-4

make all
Building file: ../main-blinky.c
Invoking: MicroBlaze gcc compiler
mb-gcc -Wall -O0 -g3 -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\lwIP\netif\include" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\lwIP\include" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\lwIP\lwIP_Apps\apps\httpserver_raw" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\lwIP\lwIP_Apps" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\lwIP\include\ipv4" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\Demo_Source\include" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\FreeRTOS_Source\include" -I"E:\virtex-4\FreeRTOSV7.1.0\Demo\MicroBlaze_Spartan-6_EthernetLite\SDKProjects\RTOSDemo\FreeRTOS_Source\portable\GCC\MicroBlazeV8" -c -fmessage-length=0 -I../../peripheral_tests_bsp_0/microblaze_0/include -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.20.a -mno-xl-soft-mul -MMD -MP -MF"main-blinky.d" -MT"main-blinky.d" -o"main-blinky.o" "../main-blinky.c"
../main-blinky.c: In function 'prvSetupHardware':
../main-blinky.c:340: error: 'XPAR_LEDS_4BITS_DEVICE_ID' undeclared (first use in this function)
../main-blinky.c:340: error: (Each undeclared identifier is reported only once
../main-blinky.c:340: error: for each function it appears in.)
../main-blinky.c:354: error: 'XPAR_PUSH_BUTTONS_4BITS_DEVICE_ID' undeclared (first use in this function)
../main-blinky.c:362: error: 'XPAR_MICROBLAZE_0_INTC_PUSH_BUTTONS_4BITS_IP2INTC_IRPT_INTR' undeclared (first use in this function)
../main-blinky.c: In function 'vApplicationSetupTimerInterrupt':
../main-blinky.c:465: error: 'XPAR_AXI_TIMER_0_CLOCK_FREQ_HZ' undeclared (first use in this function)
../main-blinky.c:469: error: 'XPAR_AXI_TIMER_0_DEVICE_ID' undeclared (first use in this function)
../main-blinky.c: In function 'vApplicationClearTimerInterrupt':
../main-blinky.c:521: error: 'XPAR_AXI_TIMER_0_BASEADDR' undeclared (first use in this function)
make: *** [main-blinky.o] Error 1

RE: Porting FreeRTOS LWIP Webserver on virtex-4

Posted by Richard on March 30, 2012
Two FreeRTOS demos are provided. The old (superseded) project for the Virtex 4 does what you want, I think, and is still available on the website and in the download. The FreeRTOS port itself is better in the new Virtex 6 project though.

If you want to know how to use the peripherals however, then you will have to look at the documentation provided by Xilinx.

Regards.


[ 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