开发环境vscode Platformio
开发框架:arduino-esp32(version 2.0.3)
使用芯片:ESP32 S3 FN8内置8MB FLASH 和ESP32 S3 FR8 外接8MB FLASH
配置文件(platformio.ini)
Code: Select all
[env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
upload_port = COM3
monitor_speed = 115200
board_build.partitions = default_8MB.csv
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DCORE_DEBUG_LEVEL=5
-DCONFIG_ESPTOOLPY_FLASHSIZE="8MB"
-DCONFIG_ESPTOOLPY_FLASHSIZE_8MB=1
下面分区表不断重启(default_8MB.csv)
Code: Select all
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x330000,
app1, app, ota_1, 0x340000,0x330000,
spiffs, data, spiffs, 0x670000,0x190000,
下面分区表不会重启
Code: Select all
Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x330000,
spiffs, data, spiffs, 0x340000,0xc0000
重启错误输出信息
Code: Select all
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb022
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x78
load:0x403b6000,len:0x95c
load:0x403ba000,len:0x26f8
entry 0x403b61a8
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb022
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x78
load:0x403b6000,len:0x95c
load:0x403ba000,len:0x26f8
entry 0x403b61a8
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
0
|
|
|
|