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] [March 2012 Threads] Porting FreeRTOS LWIP Webserver on virtex-4Posted 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-4Posted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|