之前有一个同事给我介绍一个MT7688的板子( LinkIt Smart 7688 Development Board),放久了,落尘了。今天找出来热一下板子【手动捂脸】。

1 .编写hellow_world.c

#include 
<stdio.h>
int main(int argc, char** argv)
{
    printf("Hello, World!\n");
    return 0;
}

2.编译hello_world

mipsel-openwrt-linux-g++ hello_world.c -o hello_world
这个前提是mipsel-openwrt-linux-g++要配置要环境变量。执行这个指令后会
生成hello_world。

3.把hello_world移到目标板子

scp ./hello_world [email protected]:hello_world
至于scp怎么安装,这个可以百度或谷歌

4.运行hello_world

MT7688 openwrt之helloworld

相关文章:

  • 2021-05-14
  • 2021-05-16
  • 2021-11-21
  • 2021-06-01
  • 2022-01-08
  • 2021-11-29
  • 2022-12-23
  • 2021-11-21
猜你喜欢
  • 2021-09-13
  • 2021-09-16
  • 2021-12-11
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
相关资源
相似解决方案