importing c++ files, porting files to XMC4500

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi, I'm developing a simple application for sending HTTP get or post request to a remote server. (I have an XMC4500 RelaxKit board)
I can't find any HTTP client example for my board but I have found one lwIP based : http://developer.mbed.org/users/RodColeman/code/lwip-mbed-2010/file/0791c1fece8e/Core
My questions are:
-can I use these files in my Dave project? (note that sources are C++ file)
-how can I import them?

If I can't use them 'as they are', what should I change in order to fit them for my board?

Any suggestion will be appreciated.

David
0 Likes
2 Replies
Not applicable
Hi David,

There are some webserver example projects (eg. Webserver XMC4500_Relax_Kit, WEBSERVER001_Example1 & WEBSERVER001_Example2) available in the web. Are you able to adapt them to this application?

BR,
Zain
0 Likes
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Dimadav wrote:
Hi, I'm developing a simple application for sending HTTP get or post request to a remote server. (I have an XMC4500 RelaxKit board)
I can't find any HTTP client example for my board but I have found one lwIP based : http://developer.mbed.org/users/RodColeman/code/lwip-mbed-2010/file/0791c1fece8e/Core
My questions are:
-can I use these files in my Dave project? (note that sources are C++ file)
-how can I import them?

If I can't use them 'as they are', what should I change in order to fit them for my board?

Any suggestion will be appreciated.

David


Hi Dimadav,

You can refer to this hands on training which will guide you on how to create a web server with XMC4500 application kit.

http://www.infineonforums.com/threads/1828-XMC_HOT-XMC4500-How-to-create-a-CGI-and-SSI-web-server-wi...

Please note that you need to change the pin configuration for relaxkit which is also mentioned in the training slides.

Beside this if you need a Web server running on RTOS please let me know as it is not released yet.

Best Regards
Travis
0 Likes