Spifffs programming #64
-
from David Are you up on the versions of esp extensions in VScode? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
Hi David, For SPIFFS to be programmed into flash when flashing the chip, you need to add spiffs_create_partition_image() into your CMakelists.txt. |
Beta Was this translation helpful? Give feedback.
-
Interestingly I think I had the same issue which didn't happen if I used the command line.
Try opening an idf terminal and use idf.py flash monitor it should show the output and flash to spiffs
Let me know if this resolves it.
Regards,
Mair
From: orbitcoms ***@***.***>
Sent: Monday, 4 April 2022 8:02 PM
To: Mair/esp32-course ***@***.***>
Cc: Mair Swartz ***@***.***>; Author ***@***.***>
Subject: Re: [Mair/esp32-course] Spifffs programming (Discussion #64)
Hi Mair,
I do have the FLASH_IN_PROJECT line in the makelist ok. and have not changed these since the software was last running ok.
It is difficult to see what the compiler is doing because the build output is not appearing in the VS code output window, it remains blank and I just see "Build Successful" at end. I though there must be a "silent build" option somewhere I can turn off in vscode but cannot find it.
-
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMair%2Fesp32-course%2Fdiscussions%2F64%23discussioncomment-2499055&data=04%7C01%7C%7C7427eb48d61346702d7208da16222063%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637846633073206706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Iiv3fMhQVY4YVivbr7eBputmERxTnQ9AxDuS3vBoWkI%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAS46D3NGYHG5YOEVKA3UKLVDK4YTANCNFSM5SOM5H5A&data=04%7C01%7C%7C7427eb48d61346702d7208da16222063%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637846633073206706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=icUTDYIxyLhaWR7%2BALxnoJgPh4sx%2Fo5seZzcYYQuThc%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Its not going to be an issue with vscode. It doesn't do anything to your compilation.
If you can build other projects then it's not your IDF installation. Its more than likely a fault in the project somewhere. I would need to have a closer look to debug it.
From: orbitcoms ***@***.***>
Sent: Tuesday, 5 April 2022 8:46 PM
To: Mair/esp32-course ***@***.***>
Cc: Mair Swartz ***@***.***>; Author ***@***.***>
Subject: Re: [Mair/esp32-course] Spifffs programming (Discussion #64)
I have cleaned and rebuilt several times.
Other projects were ok and a new test project with just one partition worked.
No idea what is happening here. Having to reinstall esp-idf again in VScode because it could not find the toools folder files now.
-
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMair%2Fesp32-course%2Fdiscussions%2F64%23discussioncomment-2507199&data=04%7C01%7C%7Cba1e937c343a42cc9b7908da16f1820c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637847523765923226%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=QhhgAyocGCCnCI99X5%2FSIsu4ZUoOCk6KoKvAs0fSy9g%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAS46DYRRNHXO56GILFDIZ3VDQKXNANCNFSM5SOM5H5A&data=04%7C01%7C%7Cba1e937c343a42cc9b7908da16f1820c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637847523765923226%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9l4L9%2FBE362H7EBOs52fejHNIOrppoXafkkrffUyrn4%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
Hi David,
For SPIFFS to be programmed into flash when flashing the chip, you need to add spiffs_create_partition_image() into your CMakelists.txt.
Please see https://learnesp32.com/videos/8/6_spiffs%20-%20upload%20with%20flash time=3:25