Closed mauroForlimpopoli closed 1 month ago
Thank you for the report. There was an oversight that prevented projects from overriding the partition map of ESP32 devices that have a custom partition map. Here is a patch to fix that. The patch will be included in the next Moddable SDK update.
Important: After applying the patch, it is necessary to rebuild Moddable SDK tools and then do a clean build of your project.
I followed your indications and now:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,16K,
otadata,data,ota,0xd000,8K,
phy_init,data,phy,0xf000,4K,
ota_0,app,ota_0,0x10000,2432K,
ota_1,app,ota_1,0x270000,960K,
storage,data,spiffs,0x360000,448K,
xs,64,1,0x3d0000,64K,
ryc,data,spiffs,0x3e0000,4K,
ryc2,data,spiffs,0x3e1000,4K,
settings,data,phy,0x3e2000,56K,
*******************************************************************************
so I think thats ok. Thank you. The ESP32-S3 microcontroller has more memory than ESP32 The previus manifest used only 4MB of memory. Which limitations I need to respect to use all 8MB of memory
PS: the amount of RAM memory available for the program is changed respect EPS32 ?
so I think thats ok. Thank you.
Great.
The ESP32-S3 microcontroller has more memory than ESP32
I believe you are referring to the fact that the module used in Moddable Six has 8 MB of flash whereas the module use in Moddable Two has 4 MB of flash.
The previus manifest used only 4MB of memory.
The manifest does not define the use of flash memory. That is done by the partitions.csv
as discussed above.
Which limitations I need to respect to use all 8MB of memory
You may adjust the size of your partitions in partitions.csv
as long as the total size of all partitions does not exceed 8 MB.
PS: the amount of RAM memory available for the program is changed respect EPS32 ?
You may want to take a look at the Moddable Six documentation in the section titled "8 MB PSRAM".
This matter is separate from the original topic of this issue. Please open a separate issue if you have questions.
Ok, thank you Peter
I'm trying to change the partition on the Moddable Six. In the project directory I created a folder "sdkconfig" In the Manifest I added:
and this is the code of partition
When the compiler runs it says:
and when the program start there is this error in the xsbug: C:\Users\mades\Projects\moddable\modules\files\flash\esp32\flash.c (52) # Break: Flash: can't find partition!
This is the complete manifest
How can I do?
the memory map of ESP32-S3 is differet from ESP32 do I need to change the partition offset? do I need to change the value of "static"
regards