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


Including FreeRTOS+ TCP in a FreeRTOS project

Posted by fastian12 on July 28, 2017

Hy..I'm working to include FreeRTOS+ TCP in my FreeRTOS project. I have followed all the steps given in following FreeRTOS link. http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusTCP/TCPNetworkingTutorialAddingSource_Files.html

But When I try to build my project. It gives me following error:

make: *** No rule to make target TCPEchoClient_SingleTasks.o', needed byRTOSDemo.elf'. Stop. RTOSDemo C/C++ Problem

If anybody has face this issue earlier. Please help me to resolve it. Thanks

Including FreeRTOS+ TCP in a FreeRTOS project

Posted by heinbali01 on July 28, 2017

Hi Muhammad, what platform are you using?

It looks like any of these files is missing in your project:

~~~ FreeRTOS-Plus/Demo/Common/FreeRTOSPlusTCPDemos/TCPEchoClientSingleTasks.c FreeRTOS-Plus/Demo/FreeRTOSPlusTCPandFATWindowsSimulator/DemoTasks/TCPEchoClientSingleTasks.c FreeRTOS-Plus/Demo/FreeRTOSPlusTCPMinimalWindowsSimulator/DemoTasks/TCPEchoClient_SingleTasks.c ~~~

Including FreeRTOS+ TCP in a FreeRTOS project

Posted by fastian12 on July 31, 2017

Hi Hein, Thanks for your help.

I'm using ZC702 HW Platform.

I have included paths of the directories where the files you mentioned in your comment exists. But it gives me the same error.

Basically I want to include FreeRTOS+ TCP in my Blinky Demo Application provided by FreeRTOS for ZC702 HW Platform.

Including FreeRTOS+ TCP in a FreeRTOS project

Posted by heinbali01 on July 31, 2017

If you're working on ZC702, you can also try the FreeRTOS+TCP Zynq project:

~~~ FreeRTOS-Plus/Demo/FreeRTOSPlusTCPandFATZynqSDK ~~~

That already includes +TCP.

Including FreeRTOS+ TCP in a FreeRTOS project

Posted by heinbali01 on July 31, 2017

Here I'm attaching the latest version of the driver for Zynq. Make sure that you project does not contain the previous versions of these files:

~~~ emacpsif.h emacpsifdma.c emacpsifhw.c emacpsifhw.h emacpsifphyspeed.c xtopology.h ~~~


Including FreeRTOS+ TCP in a FreeRTOS project

Posted by fastian12 on July 31, 2017

Basically, First I have used this Demo:


It was working fine with my TCP application.

But when i included my basic application (that is used to capture some interrupts from MIO pins) in this Demo, it doesnot capture external interrupts. so I was moved here to include FreeRTOS+ TCP DEMO in the project.

So I was not sure whether I can use FreeRTOSPlusTCPandFATZynqSDK Demo for Interrupt capture application or not. that's why i was moved here to include TCP+ application in my project.

Including FreeRTOS+ TCP in a FreeRTOS project

Posted by fastian12 on July 31, 2017

XScuGicConfig *pxGICConfig; BaseTypet xStatus;

pxGICConfig = XScuGic_LookupConfig( XPAR_SCUGIC_SINGLE_DEVICE_ID );

configASSERT( pxGICConfig );
configASSERT( pxGICConfig->DistBaseAddress == configINTERRUPT_CONTROLLER_BASE_ADDRESS );

xStatus = XScuGic_CfgInitialize( &xInterruptController, pxGICConfig, pxGICConfig->CpuBaseAddress );
configASSERT( xStatus == XST_SUCCESS );
( void ) xStatus;

XGpioPs_Config *pxConfigPtr;
BaseType_t xStatus1;

pxConfigPtr = XGpioPs_LookupConfig(XPAR_XGPIOPS_0_DEVICE_ID);
xStatus1 = XGpioPs_CfgInitialize(&xGpio, pxConfigPtr,pxConfigPtr->BaseAddr);
configASSERT( xStatus1 == XST_SUCCESS );
( void ) xStatus1;

XGpioPs_SetDirectionPin(&xGpio, ZYNQ_GPIO_INTERRUPT_PIN_JE1, 0);

XScuGic_Connect(&xInterruptController, GPIO_INTERRUPT_ID,


XGpioPs_SetCallbackHandler(&xGpio, (void *)&xGpio, (void *)GPIOIntrHandler);

xil_printf("Declaration Function is called rn");

XGpioPs_IntrEnablePin(&xGpio, ZYNQ_GPIO_INTERRUPT_PIN_JE1);

XScuGic_Enable(&xInterruptController, GPIO_INTERRUPT_ID);

This is the code that I have used for interrupt enabling in freeRTOS+ TCP. but when it reaches to the line XScuGic_Enable, it stucks.

[ 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