2
Get Started on ESP32-MINI-1
−− Building empty aws_iot component due to configuration
−− Component names: ...
−− Component paths: ...
... (more lines of build system output)
[527/527] Generating hello −world.bin
esptool .py v2.3.1
Project build complete. To flash , run this command:
../../../ components/esptool_py/esptool/esptool.py −p (PORT) −b 921600 write_flash −−flash_mode dio
−−flash_size detect −−flash_freq 40m 0x10000 build/hello−world.bin build 0x1000
build /bootloader/bootloader. bin 0x8000 build/ partition_table / partition −table.bin
or run ’ idf .py −p PORT flash’
If there are no errors, the build will finish by generating the firmware binary .bin file.
2.4.5 Flash onto the Device
Flash the binaries that you just built onto your ESP32-MINI-1 module by running:
idf .py −p PORT [−b BAUD] flash
Replace PORT with your module‘s serial port name from
.
You can also change the flasher baud rate by replacing BAUD with the baud rate you need. The default baud
rate is 460800.
For more information on idf.py arguments, see
.
Note:
The option ‘flash‘ automatically builds and flashes the project, so running ‘idf.py build‘ is not necessary.
Running esptool.py in directory
[...]/ esp/hello_world
Executing ”python [...]/ esp−idf/components/esptool_py/esptool/esptool.py −b 460800 write_flash
@flash_project_args ”...
esptool .py −b 460800 write_flash −−flash_mode dio −−flash_size detect −−flash_freq 40m 0x1000
bootloader/bootloader. bin 0x8000 partition_table / partition −table.bin 0x10000 hello−world.bin
esptool .py v2.3.1
Connecting ....
Detecting chip type ... ESP32
Chip is ESP32U4WDH (revision 3)
Features : WiFi, BT, Single Core
Uploading stub ...
Running stub ...
Stub running ...
Changing baud rate to 460800
Changed.
Espressif Systems
11
ESP32-MINI-1 User Manual (Preliminary v0.1)