Skip to content
On this page

Compile Project

Compilation

  1. After completing the project design, you can choose to compile it. There are two places where you can select to compile: one in the upper right corner of the page, and one in the upper left corner of the page.

8ms_1_1.png

8ms_1_2.png

  1. Compile the current project to check for any logical errors. If there are no errors, "Compilation successful!!!" and "Done!!!" will appear, indicating that the project code is error-free and ready to run.

8ms_1_3.png

  1. If there are errors during compilation, you can try "Clear Compile Cache" first. If errors still occur, try to locate the problem point and then provide feedback to us.

8ms_1_4.png

Online Preview

Below is an example animation showing the preview effect after compilation:

8ms_5.gif

Download Source Code

  1. Click on "Download Source Code". After selecting to download the source code, a zip file will be downloaded to your local machine by the browser.

8ms_1_5.png

8ms_1_6.png

  1. Download bin files (In the development phase, this is not supported. You can use the local setup environment to compile.)

Local Flashing

After successful compilation, there are two methods for local flashing:

Command Line Flashing

idf.py flash -p [port] monitor

Flashing Tool

After the project is compiled, click "Download bin". The 8ms platform will generate a bin.zip archive containing the files firmware_0x0.bin and readme.txt.

You can use the flash_download_tool_3.9.3 flashing tool to flash the bin file to the development board. The download link for the flash_download_tool_3.9.3 is as follows:

https://www.espressif.com.cn/zh-hans/support/download/other-tools

download07

Steps to use the flash_download_tool for flashing:

download08

  1. Click the button with three dots, and in the pop-up box, select the firmware_0x0.bin file downloaded from the platform. Enter the address 0x00 in the field behind it, and check the box in front;

  2. Select the SPI SPEED for flashing;

  3. Select the SPI MODE for flashing;

  4. Select the COM port for flashing the firmware;

  5. Select the baud rate for flashing the firmware;

  6. Click the START button to begin flashing.