-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpartitions.csv
More file actions
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 1.
49 lines (45 loc) · 1.32 KB
/
partitions.csv
File metadata and controls
49 lines (45 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#include "gos/gos.h"
#define GOS_PART_OTADATA_SIZE 8k
#define GOS_PART_PHY_INIT_SIZE 4k
#default GOS_CONFIG_CONSOLE 0
#if defined(GOS_BSP_HAS_FLASH_4MB)
#define GOS_PART_APP0_SIZE 1800k
#define GOS_PART_APP1_SIZE 1800k
#if GOS_CONFIG_CONSOLE
#define GOS_PART_NVS_SIZE 4k
#define GOS_PART_STORAGE
#define GOS_PART_STORAGE_SIZE 372k
#else
#define GOS_PART_NVS_SIZE 4k
#endif
#elif defined(GOS_BSP_HAS_FLASH_8MB)
#define GOS_PART_APP0_SIZE 3800k
#define GOS_PART_APP1_SIZE 3800k
#if GOS_CONFIG_CONSOLE
#define GOS_PART_NVS_SIZE 4k
#define GOS_PART_STORAGE
#define GOS_PART_STORAGE_SIZE 372k
#else
#define GOS_PART_NVS_SIZE 4k
#endif
#elif defined(GOS_BSP_HAS_FLASH_16MB)
#define GOS_PART_APP0_SIZE 7800k
#define GOS_PART_APP1_SIZE 7800k
#if GOS_CONFIG_CONSOLE
#define GOS_PART_NVS_SIZE 4k
#define GOS_PART_STORAGE
#define GOS_PART_STORAGE_SIZE 372k
#else
#define GOS_PART_NVS_SIZE 4k
#endif
#else
#error "partitions.csv: Unknown flash size"
#endif
otadata, data, ota, , GOS_PART_OTADATA_SIZE,
phy_init, data, phy, , GOS_PART_PHY_INIT_SIZE,
app0, app, ota_0, , GOS_PART_APP0_SIZE,
app1, app, ota_1, , GOS_PART_APP1_SIZE,
nvs, data, nvs, , GOS_PART_NVS_SIZE,
#ifdef GOS_PART_STORAGE
storage, data, littlefs, , GOS_PART_STORAGE_SIZE,
#endif