ESP32 S3 折腾了几天IDE 终于跑成了Hello World

Posted letleon

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ESP32 S3 折腾了几天IDE 终于跑成了Hello World相关的知识,希望对你有一定的参考价值。

真的这个环境配置真的太糟心了!

不过跑起来了,哈哈哈

Hello world!
This is esp32s3 chip with 2 CPU core(s), WiFi/BLE, silicon revision v0.1, 2MB external flash
Minimum free heap size: 391944 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...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375625
0x40375625: esp_restart_noos_dig at C:/Espressif/frameworks/esp-idf-v5.0.1/components/esp_system/esp_system.c:64 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x164c
load:0x403c9700,len:0xbe0
load:0x403cc700,len:0x2ef8
entry 0x403c9900
I (24) boot: ESP-IDF v5.0.1-dirty 2nd stage bootloader
I (24) boot: compile time 23:29:31
I (24) boot: chip revision: v0.1
I (26) boot.esp32s3: Boot SPI Speed : 80MHz
I (31) boot.esp32s3: SPI Mode       : DIO
I (36) boot.esp32s3: SPI Flash Size : 2MB
I (41) boot: Enabling RNG early entropy source...
I (46) boot: Partition Table:
I (50) boot: ## Label            Usage          Type ST Offset   Length
I (57) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (64) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (72) boot:  2 factory          factory app      00 00 00010000 00100000
I (79) boot: End of partition table
I (84) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=08cb4h ( 36020) map
I (98) esp_image: segment 1: paddr=00018cdc vaddr=3fc91000 size=02318h (  8984) load
I (102) esp_image: segment 2: paddr=0001affc vaddr=40374000 size=0501ch ( 20508) load
I (113) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=195f4h (103924) map
I (136) esp_image: segment 4: paddr=0003961c vaddr=4037901c size=07f4ch ( 32588) load
I (149) boot: Loaded app from partition at offset 0x10000
I (149) boot: Disabling RNG early entropy source...
I (160) cpu_start: Pro cpu up.
I (160) cpu_start: Starting app cpu, entry point is 0x40375168
0x40375168: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v5.0.1/components/esp_system/port/cpu_start.c:142

I (0) cpu_start: App cpu up.
I (175) cpu_start: Pro cpu start user code
I (175) cpu_start: cpu freq: 160000000 Hz
I (175) cpu_start: Application information:
I (178) cpu_start: Project name:     hello_world
I (183) cpu_start: App version:      1
I (188) cpu_start: Compile time:     Mar 21 2023 23:28:48
I (194) cpu_start: ELF file SHA256:  866c17505872c61e...
I (200) cpu_start: ESP-IDF:          v5.0.1-dirty
I (205) cpu_start: Min chip rev:     v0.0
I (210) cpu_start: Max chip rev:     v0.99 
I (215) cpu_start: Chip rev:         v0.1
I (220) heap_init: Initializing. RAM available for dynamic allocation:
I (227) heap_init: At 3FC93D38 len 000559D8 (342 KiB): D/IRAM
I (233) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (240) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (246) heap_init: At 600FE010 len 00001FF0 (7 KiB): RTCRAM
I (253) spi_flash: detected chip: gd
I (257) spi_flash: flash io: dio
W (261) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.I (274) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.

 

以上是关于ESP32 S3 折腾了几天IDE 终于跑成了Hello World的主要内容,如果未能解决你的问题,请参考以下文章

一个ESP32小东西

esp32s3霍尔编码器使用

Linux下搭建 ESP-IDF 开发环境,适合ESP32/ESP32S2/ESP32C3/ESP32S3系列模组二次开发

Arduino IDE下载安装ESP8266/32慢的解决办法

Arduino IDE配置esp32各版本

ESP32 S3 vscode+idf搭建