Skip to content

Commit 63a6ea4

Browse files
committed
Name partition for flashApp "flashApp"
1 parent 851d238 commit 63a6ea4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ can see the content in `main/sd-partition-table.csv` it results in the following
4343
nvs, data, nvs, 0x009000, 0x005000,
4444
otadata, data, ota, 0x00e000, 0x002000,
4545
app, app, ota_0, 0x010000, 0x380000,
46-
sdflash, app, ota_1, 0x390000, 0x040000,
46+
flashApp, app, ota_1, 0x390000, 0x040000,
4747
spiffs, data, spiffs, 0x3D0000, 0x030000,
4848

4949
It is mainly based on the existing partition schema, to change as little as possible

main/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ const uint8_t partition_table[] = {
5555
// app, app, ota_0, 0x010000, 0x380000,
5656
0xAA, 0x50, 0x00, 0x10, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x38, 0x00, 0x61, 0x70, 0x70, 0x00,
5757
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
58-
// sdflash, app, ota_1, 0x390000, 0x040000,
59-
0xAA, 0x50, 0x00, 0x11, 0x00, 0x00, 0x39, 0x00, 0x00, 0x00, 0x04, 0x00, 0x73, 0x64, 0x66, 0x6C,
60-
0x61, 0x73, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
58+
// flashApp, app, ota_1, 0x390000, 0x040000,
59+
0xAA, 0x50, 0x00, 0x11, 0x00, 0x00, 0x39, 0x00, 0x00, 0x00, 0x04, 0x00, 0x66, 0x6C, 0x61, 0x73,
60+
0x68, 0x41, 0x70, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
6161
// spiffs, data, spiffs, 0x3D0000, 0x030000,
6262
0xAA, 0x50, 0x01, 0x82, 0x00, 0x00, 0x3D, 0x00, 0x00, 0x00, 0x03, 0x00, 0x73, 0x70, 0x69, 0x66,
6363
0x66, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
6464
// END
6565
0xEB, 0xEB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
66-
0xFE, 0xCD, 0xE8, 0x51, 0x9F, 0xAE, 0x28, 0xAB, 0xE8, 0x12, 0x4E, 0x8C, 0xCC, 0xDE, 0x1B, 0x82
66+
0x3E, 0xEE, 0x65, 0x89, 0xB9, 0x86, 0xC0, 0xE7, 0x4E, 0xB4, 0x80, 0x82, 0x9A, 0xDA, 0xDF, 0x6D
6767
};
6868

6969
static const char *TAG = "flash-sd";

main/sd-partition-table.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
nvs, data, nvs, 0x009000, 0x005000,
55
otadata, data, ota, 0x00e000, 0x002000,
66
app, app, ota_0, 0x010000, 0x380000,
7-
sdflash, app, ota_1, 0x390000, 0x040000,
7+
flashApp, app, ota_1, 0x390000, 0x040000,
88
spiffs, data, spiffs, 0x3D0000, 0x030000,

0 commit comments

Comments
 (0)