I'm using CMake with ESPIDF 4.4.4
I have a large SPIFFs partition (4MB) which take a long time to flash each time I make a change to the app.
But the SPIFFS partition itself hardly ever changes.
Is there a simple way to flash the app binary, partition table (which includes an entry for the SPIFFS partition) etc, but NOT flash the unchanged SPIFFs partition?
How to flash everything except the SPIFFs partition
-
- Posts: 107
- Joined: Wed Jan 02, 2019 8:55 am
-
- Posts: 107
- Joined: Wed Jan 02, 2019 8:55 am
Re: How to flash everything except the SPIFFs partition
Anyone?
Or is this the wrong part of the forum for this question?
Or is this the wrong part of the forum for this question?
-
- Posts: 9759
- Joined: Thu Nov 26, 2015 4:08 am
Re: How to flash everything except the SPIFFs partition
The spiffs contents get created/flashed by a spiffs_create_partition_image() line in a CMakeLists.txt file somewhere. If you comment that line out by prefixing it with a '#', the partition isn't created/flashed anymore.
-
- Posts: 107
- Joined: Wed Jan 02, 2019 8:55 am
Re: How to flash everything except the SPIFFs partition
Huh thanks.
I was sure that when I tried that previously it still wrote the SPIFFs partition.
I was sure that when I tried that previously it still wrote the SPIFFs partition.
Who is online
Users browsing this forum: Bing [Bot], MicroController, YaCy [Bot] and 180 guests