In the terminal where you are going to use ESP-IDF, run:Įsptool.py -chip esp32 -p /dev/ttyUSB0 -b 460800 -before=default_reset -after=hard_reset write_flash -flash_mode dio -flash_freq 40m -flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 hello_world.binįeatures: WiFi, BT, Dual Core, Coding Scheme None ESP-IDF provides another script which does that. To make the tools usable from the command line, some environment variables must be set. The installed tools are not yet added to the PATH environment variable. If changing the IDF_TOOLS_PATH, make sure it is set to the same value every time the Install script ( install.bat, install.ps1 or install.sh) and an Export script ( export.bat, export.ps1 or export.sh) are executed. Make sure that your user account has sufficient permissions to read and write this path. If you wish to install the tools into a different directory, set the environment variable IDF_TOOLS_PATH before running the installation scripts. The scripts introduced in this step install compilation tools required by ESP-IDF inside the user home directory: $HOME/.espressif on Linux. Export IDF_GITHUB_ASSETS = "dl.espressif.cn/github_assets"Ĭustomizing the Tools Installation Path
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |