SAME70+UDP+FreeRTOS I am Lost!

Hi, I have been using SAME70 with raw lwip for UDP tasks without RTOS. Now I have to use FreeRTOS to get UDP done on SAME70. Please forgive me if I sound dumb as I have never used any RTOS.
I found a working demo SAME70-FreeRTOS-Plus-TCP from GitHub and built this code successfully on Atmel Studio 7.
My first pain is that I am used to of lwip but now I will have to use non-lwip code.
Second I see the LED blinking and pinging my board now I want to integrate UDP send receive routine as per my project need. I see UDP include files available in the folders but I don’t know how to use these functions and where to call them. Please guide me how to integrate the defined UDP functions in my main to make flow as per my requirement.
Following is the link I downloaded demo project from
github[dot]com[slash]Peter-Herrmann[slash]SAME70-FreeRTOS-Plus-TCP
Please suggest me specific path as I am kind of lost after so many searches and downloading and code trials. Please help.

There was a similar question here to which I responded.

Please make sure that you download the TCP+FreeRTOS software from the official github repo .

Thanks, I am right now struggling to compile the MakeProject you mentioned there. Correct me if Im wrong I need to update all paths as per my PC’s, in Config.mk?

aou can continue to use lwip with FreeRTOS, that has been done numerous times before.

How? Where? Any working demo available? I have exhausted searching for it.

Dear htibosch, I have update config.mk according to my compile getting a lot of errors in building SAME70 project. Could you please check what am I mistaking?

$ make -j 8 all
C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/arm/arm-gnu-toolchain/bin/arm-none-eabi-gcc --version
/usr/bin/sh: -c: line 1: syntax error near unexpected token `('
/usr/bin/sh: -c: line 1: `C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/arm/arm-gnu-toolchain/bin/arm-none-eabi-gcc --version'
Makefile:193: recipe for target 'ccversion' failed
make: *** [ccversion] Error 2
make: *** Waiting for unfinished jobs....
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
Makefile:546: recipe for target 'main.o' failed
make: *** [main.o] Error 2
Makefile:546: recipe for target 'hr_gettime.o' failed
make: *** [hr_gettime.o] Error 2
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
Makefile:546: recipe for target 'C:/plus/same70/src/ASF/common/services/delay/sam/cycle_counter.o' failed
make: *** [C:/plus/same70/src/ASF/common/services/delay/sam/cycle_counter.o] Error 2
Makefile:546: recipe for target 'C:/plus/Framework/FreeRTOS_v10.0.0/tasks.o' failed
make: *** [C:/plus/Framework/FreeRTOS_v10.0.0/tasks.o] Error 2
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
Makefile:546: recipe for target 'C:/plus/Framework/FreeRTOS_v10.0.0/queue.o' failed
make: *** [C:/plus/Framework/FreeRTOS_v10.0.0/queue.o] Error 2
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
Makefile:546: recipe for target 'C:/plus/Framework/FreeRTOS_v10.0.0/list.o' failed
make: *** [C:/plus/Framework/FreeRTOS_v10.0.0/list.o] Error 2

“exhausted?”

freertos lwip site github.com - Google Search

I think you missed SAME70 part.

I see the LED blinking and pinging my board now I want to integrate UDP send receive routine as per my project need. I see UDP include files available in the folders but I don’t know how to use these functions and where to call them. Please guide me how to integrate the defined UDP functions

Hi all, anyone with idea how to compile SAME70 specific project here freertos_plus_projects on Windows10? I am unable to build project using Makefile.

I tried building this project on Linux and even though, I am able to get farther than you but this project is not up-to-date and would require some work. Reading your previous posts, you have the following 2 working:

  1. LWIP without RTOS.
  2. FreeRTOS-Plus-TCP.

You have the following 2 options:

  1. Add FreeRTOS to your LWIP code. As pointed out @RAc , there are several examples available and you can refer to them.
  2. Write your UDP application using FreeRTOS-Plus-TCP APIs. You can refer to this sample - FreeRTOS/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Minimal_Windows_Simulator/DemoTasks/SimpleUDPClientAndServer.c at main · FreeRTOS/FreeRTOS · GitHub.

Thank you for your response. Yes I gave up building that Make project, I have started writing my application, and able to successfully send UDP packets. Thank you for the demo link.