3 Get Started
This command will compile the application and all ESP-IDF components, then it will generate the bootloader,
partition table, and application binaries.
$ idf.py build
1
Running cmake in directory /path/to/hello_world/build
2
Executing "cmake -G Ninja --warn-uninitialized /path/to/hello_world"...
3
Warn about uninitialized values.
4
-- Found Git: /usr/bin/git (found version "2.17.0")
5
-- Building empty aws_iot component due to configuration
6
-- Component names: ...
7
-- Component paths: ...
8
9
... (more lines of build system output)
10
11
[527/527] Generating hello_world.bin
12
esptool.py v2.3.1
13
14
Project build complete. To flash, run this command:
15
../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600
16
write_flash --flash_mode dio --flash_size detect --flash_freq 40m
17
0x10000 build/hello_world.bin build 0x1000 build/bootloader/bootloader.bin 0x8000
18
build/partition_table/partition-table.bin
19
or run 'idf.py -p PORT flash'
20
If there are no errors, the build will finish by generating the firmware binary .bin file.
3.4.5 Flash onto the Device
Flash the binaries that you just built onto your module by running:
idf.py -p PORT [-b BAUD] flash
1
Replace PORT with your ESP32-S3 board'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 idf.py.
Note:
The option 'flash' automatically builds and flashes the project, so running 'idf.py build' is not necessary.
When flashing, you will see the output log similar to the following:
...
1
esptool.py esp32s3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset
2
write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.
3
bin
0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
4
esptool.py v3.2-dev
5
Serial port /dev/ttyUSB0
6
Connecting....
7
Espressif Systems
12
Submit Documentation Feedback
Step: Connect Your
Device.
ESP32-S3-MINI-1 & MINI-1U User Manual v0.6
Need help?
Do you have a question about the ESP32-S3-MINI-1 and is the answer not in the manual?
Questions and answers