Espress8266 编译环境的搭建

1.编译软件:https://pan.baidu.com/s/19yE_u6JbVAPsnknWPW1rFw

2.搭建流程:

    1. Virtual Computer
      1. Image

Open virtual format (*.ova) is used for virtual computer image and the file is ESP8266_lubuntu.ova which can be imported into other virtual machine software.

Note: user name is “ESP8266”, password is “espressif”.

      1. Import

In default condition, VirtualBox will import virtual computer into system disk and this import will take up a lot of system space as users use the virtual computer. Hence, it is recommended to install virtual computer on non-system disk.

 

Step 1: Select "Preferences" in the management menu

 

 

Step 2: Select "General" where you can set the path for virtual computer, for example: D:\vm

       Step 3: Select "Import Appliance " in the management menu

Step 4: Set the path for the virtual computer to be imported, for example: D:\vm\ ESP8266_lubuntu_20141021.ova

 

Step 5: import

 

       After the import, the following files can be found in D:\vm\ ESP8266_lubuntu_1:

      1. Shared folders

Please share the folders in the hosting machine with the virtual machine before using the virtual machine, for example: create a file holder named "share", which is dedicated to mapping the virtual computer, and the hosting machine can share files with the virtual machine by copying files into this file holder. The specific steps are as follows:

 

 

 

  1. Compile
  1. Copy esp_iot_sdk source code to D:\VM\share\ , copy IOT_DEMO(which in \esp_iot_sdk\examples) or AT source code to D:\VM\share\esp_iot_sdk\app

  1. Run the VirtualBox

 

  1. Run the “LXTerminal”

 

  1. Mount the shared folder first. Input “./mount.sh” , press “Enter”

Password is “espressif”, input it, press “Enter”

 

  1. Check if the shared folder can be find in the VirtualBox

Open the directory that will be compiled.

  1. Call “make” followed by “./gen_misc.sh” to compile.

 

  1. After compiled, bins are in “D:\VM\share\esp_iot_sdk\bin”

 

 

  

  1. xtensa-lx106-elf.tar.bz2

       If you want to use xtensa-lx106-elf.tar.bz2 directly, you need only two steps:

  1. tar jxcv xtensa-lx106-elf.tar.bz2 –C /opt
  2. export PATH=/opt/xtensa-lx106-elf/bin:$PATH

or add it to the end of .bashrc or .profile

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

零一2035

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值