概述

本文介绍在Macos下如何编译远程终端代码。

环境准备

Mac电脑

系统信息如下:
image.png

下载设备侧代码

假设我们的代码目录位于: /home/yuehu/github/

  1. cd /home/yuehu/github/
  2. git clone https://github.com/alibaba/iot_remote_access.git

image.png

编译

安装SCONS

brew install -y scons

编译

scons board=macos

MacOS 编译 - 图3

查看生成物

image.png