Skip to content
Prev Previous commit
Next Next commit
C33 QSPIformat added partition for kvstore
  • Loading branch information
andreagilardoni authored and pennam committed Feb 24, 2025
commit 4c6df4f4822713e4e874e3a99e51a2874bc0c7e0
3 changes: 2 additions & 1 deletion libraries/Storage/examples/QSPIFormat/QSPIFormat.ino
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ void setup() {

if (true == waitResponse()) {
MBRBlockDevice::partition(root, 1, 0x0B, 0, 5 * 1024 * 1024);
MBRBlockDevice::partition(root, 2, 0x0B, 5 * 1024 * 1024, 16 * 1024 * 1024);
MBRBlockDevice::partition(root, 2, 0x0B, 5 * 1024 * 1024, 15 * 1024 * 1024);
MBRBlockDevice::partition(root, 3, 0x0B, 15 * 1024 * 1024, 16 * 1024 * 1024);

int err = sys_fs.reformat(&sys_bd);
if (err) {
Expand Down