简体   繁体   English

mbed结合两个程序

[英]mbed combining two programs

I am trying to get my board connected to ethernet to do so I am using the code Nucleo_F746ZG_Ethernet this code uses an outdated version of mbed, but as soon as I update it it stops working. 我正在尝试将板连接到以太网,因此我正在使用代码Nucleo_F746ZG_Ethernet,该代码使用了mbed的过时版本,但是一旦更新,它就会停止工作。

In my own made code I use the newest version of mbed that I need for a few functions. 在我自己编写的代码中,我使用了一些功能所需的最新版本的mbed。

My question is, can I combine these two into a new code that performs both tasks on different versions of mbed and how would I do so? 我的问题是,我可以将两者结合成一个新代码,以在不同版本的mbed上执行两项任务吗,我将如何做?

I used a different library to assist me in this matter. 在这个问题上,我使用了另一个图书馆来协助我。 https://os.mbed.com/teams/ST/code/mbed-os-tcp-server-example/ This one does work for what i use but i cant set the ip address for my board. https://os.mbed.com/teams/ST/code/mbed-os-tcp-server-example/这个适用于我使用的功能,但是我不能为我的板设置IP地址。 besides this you can create an web interface with it also. 除此之外,您还可以使用它创建一个Web界面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM