方式1 后面的截图 不要用离线1.7G的包 用在线的小包 安装 的时候选择分支更多 选择master即可
方式2
+++切换
遇到PY的问题
https://blog.csdn.net/p1279030826/article/details/111682115
C:\Users\Koson.Gong\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe -m pip install --upgrade pip
C:\Users\Koson.Gong\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe -m pip install -r D:\A-ESP-IDF\requirements.txt
我的问题是
Warning: python interpreter not running from IDF_PYTHON_ENV_PATH
搞不清楚 好像是不满足条件 那么上面的博文 就是py一下 让他满足要求
此时可以成功 helloworld S3成功救砖!
PS D:\A-ESP-IDF\examples\get-started\hello_world> idf.py set-target esp32s3
PS D:\A-ESP-IDF\examples\get-started\hello_world> idf.py build
Project build complete. To flash, run this command:
C:\Users\Koson.Gong\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe ..\..\..\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x0 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\hello_world.bin
or run 'idf.py -p (PORT) flash'
正常的log
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403755f4
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x1718
load:0x403b6000,len:0x8c8
load:0x403ba000,len:0x2eb0
entry 0x403b61c0
[0;32mI (29) boot: ESP-IDF v4.4-dev-3401-gb86fe0c66-dirty 2nd stage bootloader[0m
[0;32mI (29) boot: compile time 11:56:47[0m
[0;32mI (29) boot: chip revision: 0[0m
[0;32mI (33) boot.esp32s3: Boot SPI Speed : 80MHz[0m
[0;32mI (38) boot.esp32s3: SPI Mode : DIO[0m
[0;32mI (42) boot.esp32s3: SPI Flash Size : 2MB[0m
[0;32mI (47) boot: Enabling RNG early entropy source...[0m
[0;33mW (52) bootloader_random: RNG for ESP32-S3 not currently supported[0m
[0;32mI (59) boot: Partition Table:[0m
[0;32mI (63) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (70) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (78) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (85) boot: 2 factory factory app 00 00 00010000 00100000[0m
[0;32mI (93) boot: End of partition table[0m
[0;32mI (97) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=07098h ( 28824) map[0m
[0;32mI (110) esp_image: segment 1: paddr=000170c0 vaddr=3fc903a0 size=0263ch ( 9788) load[0m
[0;32mI (116) esp_image: segment 2: paddr=00019704 vaddr=40374000 size=06914h ( 26900) load[0m
[0;32mI (128) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=15b3ch ( 88892) map[0m
[0;32mI (147) esp_image: segment 4: paddr=00035b64 vaddr=4037a914 size=05a84h ( 23172) load[0m
[0;32mI (152) esp_image: segment 5: paddr=0003b5f0 vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (157) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (158) boot: Disabling RNG early entropy source...[0m
[0;33mW (164) bootloader_random: RNG for ESP32-S3 not currently supported[0m
[0;32mI (182) cpu_start: Pro cpu up.[0m
[0;32mI (182) cpu_start: Starting app cpu, entry point is 0x40375094[0m
[0;32mI (161) cpu_start: App cpu up.[0m
[0;32mI (196) cpu_start: Pro cpu start user code[0m
[0;32mI (196) cpu_start: cpu freq: 160000000[0m
[0;32mI (197) cpu_start: Application information:[0m
[0;32mI (199) cpu_start: Project name: hello_world[0m
[0;32mI (205) cpu_start: App version: v4.4-dev-3401-gb86fe0c66-dirty[0m
[0;32mI (211) cpu_start: Compile time: Oct 15 2021 11:56:02[0m
[0;32mI (218) cpu_start: ELF file SHA256: b63225a43a21941e...[0m
[0;32mI (224) cpu_start: ESP-IDF: v4.4-dev-3401-gb86fe0c66-dirty[0m
[0;32mI (231) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (238) heap_init: At 3FC933B8 len 0004CC48 (307 KiB): D/IRAM[0m
[0;32mI (244) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM[0m
[0;32mI (251) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM[0m
[0;32mI (258) spi_flash: detected chip: generic[0m
[0;32mI (262) spi_flash: flash io: dio[0m
[0;33mW (266) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m
[0;32mI (280) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
Hello world!
This is esp32s3 chip with 2 CPU core(s), WiFi/BLE, silicon revision 0, 2MB external flash
Minimum free heap size: 383204 bytes
Restarting in 10 seconds...
Restarting in 9 seconds...
Restarting in 8 seconds...
Restarting in 7 seconds...
Restarting in 6 seconds...
Restarting in 5 seconds...
Restarting in 4 seconds...
Restarting in 3 seconds...