Quality RTOS & Embedded Software

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




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) 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