Quality RTOS & Embedded Software

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




Loading

Error in NetworkInterface.c

Posted by roberto-plus on November 6, 2013

Hi guys, I' m trying to use FreeRTOS+UDP with Microblaze on ML605. I' m using drivers automaticaly created by SDK when I created a new project for testing peripherals. I have a problem with NetworkInterface.c. I'm using followed guide and I included GCC compilator: http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusUDP/FreeRTOSUDPIPEmbeddedEthernet_Tutorial.shtml

Now, I have this problem :

C:/R/FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/NetworkInterface.h:48: error: expected ')' before '' token C:/R/FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/NetworkInterface.h:49: error: expected ')' before 'pxNetworkBuffers' ../src/NetworkInterface.c:254: error: expected ')' before '' token make: *** [src/NetworkInterface.o] Error 1


Error in NetworkInterface.c

Posted by richardbarry on November 6, 2013

Is this different to the following question/answer? https://sourceforge.net/p/freertos/discussion/382005/thread/178c9a4d/#8d9b

It looks like the same issue.

Regards.


Error in NetworkInterface.c

Posted by roberto-plus on November 6, 2013

Yes, It is. Now I have drivers for my Ethrnet. If I created a new project for testing hardware, the SDK creates this file : https://gist.github.com/anonymous/7338337

and I think that I can use this in order to implement NetworkInterface.c. https://gist.github.com/anonymous/7338398

but maybe the problem now is in the compilator.

Thanks for the support.


Error in NetworkInterface.c

Posted by richardbarry on November 6, 2013

Ensure "FreeRTOSIPPrivate.h" is included before any calls to #include "NetworkInterface.h".

Regards.


Error in NetworkInterface.c

Posted by roberto-plus on November 6, 2013

No, I didn't include. Sorry Now it works better.

Thanks


[ 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