all P4 boards have 16MB flash (#24046)

This commit is contained in:
Jason2866 2025-10-23 18:55:19 +02:00 committed by GitHub
parent 02d53557c4
commit f839a97fbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 57 deletions

View File

@ -2,7 +2,7 @@
"build": { "build": {
"core": "esp32", "core": "esp32",
"extra_flags": [ "extra_flags": [
"-DARDUINO_TASMOTA -DESP32P4 -DBOARD_HAS_PSRAM -DARDUINO_USB_MODE=1 -DUSE_USB_CDC_CONSOLE" "-DARDUINO_TASMOTA -DESP32P4 -DESP32_16M -DBOARD_HAS_PSRAM -DARDUINO_USB_MODE=1 -DUSE_USB_CDC_CONSOLE"
], ],
"f_cpu": "360000000L", "f_cpu": "360000000L",
"f_flash": "80000000L", "f_flash": "80000000L",
@ -10,7 +10,7 @@
"flash_mode": "qio", "flash_mode": "qio",
"mcu": "esp32p4", "mcu": "esp32p4",
"variant": "esp32p4", "variant": "esp32p4",
"partitions": "partitions/esp32_partition_app2880k_fs320k.csv" "partitions": "partitions/esp32_partition_app3904k_fs11584k.csv"
}, },
"connectivity": [ "connectivity": [
"wifi", "wifi",
@ -25,7 +25,7 @@
"arduino", "arduino",
"espidf" "espidf"
], ],
"name": "Espressif Generic ESP32-P4 >= 4M Flash, Tasmota 2880k Code/OTA, >= 320k FS", "name": "Espressif Generic ESP32-P4 16M Flash, Tasmota 3904k Code/OTA, 11584k FS",
"upload": { "upload": {
"arduino": { "arduino": {
"flash_extra_images": [ "flash_extra_images": [
@ -35,9 +35,9 @@
] ]
] ]
}, },
"flash_size": "4MB", "flash_size": "16MB",
"maximum_ram_size": 768000, "maximum_ram_size": 768000,
"maximum_size": 4194304, "maximum_size": 16777216,
"require_upload_port": true, "require_upload_port": true,
"speed": 1500000 "speed": 1500000
}, },

View File

@ -1,47 +0,0 @@
{
"build": {
"core": "esp32",
"extra_flags": [
"-DARDUINO_TASMOTA -DESP32P4 -DBOARD_HAS_PSRAM -DARDUINO_USB_MODE=1 -DUSE_USB_CDC_CONSOLE"
],
"f_cpu": "360000000L",
"f_flash": "80000000L",
"f_psram": "200000000L",
"flash_mode": "qio",
"mcu": "esp32p4",
"variant": "esp32p4",
"partitions": "partitions/esp32_partition_app3904k_fs3392k.csv"
},
"connectivity": [
"wifi",
"bluetooth",
"openthread",
"ethernet"
],
"debug": {
"openocd_target": "esp32p4.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Espressif ESP32-P4 Function EV Board",
"upload": {
"arduino": {
"flash_extra_images": [
[
"0x10000",
"tasmota32p4-safeboot.bin"
]
]
},
"flash_size": "16MB",
"maximum_ram_size": 768000,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 1500000
},
"url": "https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32p4/esp32-p4-function-ev-board/index.html",
"vendor": "Espressif"
}

View File

@ -2,7 +2,7 @@
"build": { "build": {
"core": "esp32", "core": "esp32",
"extra_flags": [ "extra_flags": [
"-DARDUINO_TASMOTA -DESP32P4 -DBOARD_HAS_PSRAM" "-DARDUINO_TASMOTA -DESP32P4 -DESP32_16M -DBOARD_HAS_PSRAM"
], ],
"f_cpu": "360000000L", "f_cpu": "360000000L",
"f_flash": "80000000L", "f_flash": "80000000L",
@ -10,7 +10,7 @@
"flash_mode": "qio", "flash_mode": "qio",
"mcu": "esp32p4", "mcu": "esp32p4",
"variant": "esp32p4", "variant": "esp32p4",
"partitions": "partitions/esp32_partition_app2880k_fs320k.csv" "partitions": "partitions/esp32_partition_app3904k_fs11584k.csv"
}, },
"connectivity": [ "connectivity": [
"wifi", "wifi",
@ -25,7 +25,7 @@
"arduino", "arduino",
"espidf" "espidf"
], ],
"name": "Espressif Generic ESP32-P4 >= 4M Flash, Tasmota 2880k Code/OTA, >= 320k FS", "name": "Espressif Generic ESP32-P4 16M Flash, Tasmota 3904k Code/OTA, 11584k FS",
"upload": { "upload": {
"arduino": { "arduino": {
"flash_extra_images": [ "flash_extra_images": [
@ -35,9 +35,9 @@
] ]
] ]
}, },
"flash_size": "4MB", "flash_size": "16MB",
"maximum_ram_size": 768000, "maximum_ram_size": 768000,
"maximum_size": 4194304, "maximum_size": 16777216,
"require_upload_port": true, "require_upload_port": true,
"speed": 1500000 "speed": 1500000
}, },

View File

@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
safeboot, app, factory, 0x10000, 0xD0000,
app0, app, ota_0, 0xE0000, 0x3D0000,
spiffs, data, spiffs, 0x4B0000,0xB50000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0x2000
4 safeboot app factory 0x10000 0xD0000
5 app0 app ota_0 0xE0000 0x3D0000
6 spiffs data spiffs 0x4B0000 0xB50000