Skip to content

Commit

Permalink
[Telink] Update storage partition size
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiiSalamakha committed Dec 1, 2023
1 parent bd8ff95 commit fbf1de0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
3 changes: 3 additions & 0 deletions examples/lock-app/telink/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y
# Disable CHIP shell support
CONFIG_CHIP_LIB_SHELL=n

# Set NVM sector
CONFIG_SETTINGS_NVS_SECTOR_COUNT=10

# Disable factory data support
CONFIG_CHIP_FACTORY_DATA=n
CONFIG_CHIP_FACTORY_DATA_BUILD=n
Expand Down
10 changes: 5 additions & 5 deletions src/platform/telink/1m_flash.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
};
slot0_partition: partition@19000 {
label = "image-0";
reg = <0x19000 0xDC000>;
reg = <0x19000 0xda000>;
};
factory_partition: partition@F5000 {
factory_partition: partition@f3000 {
label = "factory-data";
reg = <0xF5000 0x1000>;
reg = <0xf3000 0x1000>;
};
storage_partition: partition@F6000 {
storage_partition: partition@f4000 {
label = "storage";
reg = <0xF6000 0x8000>;
reg = <0xf4000 0xa000>;
};
vendor_partition: partition@fe000 {
label = "vendor-data";
Expand Down
14 changes: 7 additions & 7 deletions src/platform/telink/2m_flash.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
};
slot0_partition: partition@19000 {
label = "image-0";
reg = <0x19000 0xee000>;
reg = <0x19000 0xed000>;
};
factory_partition: partition@107000 {
factory_partition: partition@106000{
label = "factory-data";
reg = <0x107000 0x1000>;
reg = <0x106000 0x1000>;
};
storage_partition: partition@108000 {
storage_partition: partition@107000 {
label = "storage";
reg = <0x108000 0x8000>;
reg = <0x107000 0xa000>;
};
slot1_partition: partition@110000 {
slot1_partition: partition@111000 {
label = "image-1";
reg = <0x110000 0xee000>;
reg = <0x111000 0xed000>;
};
vendor_partition: partition@1fe000 {
label = "vendor-data";
Expand Down
14 changes: 7 additions & 7 deletions src/platform/telink/4m_flash.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
};
slot0_partition: partition@19000 {
label = "image-0";
reg = <0x19000 0x1ee000>;
reg = <0x19000 0x1ed000>;
};
factory_partition: partition@207000 {
factory_partition: partition@206000 {
label = "factory-data";
reg = <0x207000 0x1000>;
reg = <0x206000 0x1000>;
};
storage_partition: partition@208000 {
storage_partition: partition@207000 {
label = "storage";
reg = <0x208000 0x8000>;
reg = <0x207000 0xa000>;
};
slot1_partition: partition@210000 {
slot1_partition: partition@211000 {
label = "image-1";
reg = <0x210000 0x1ee000>;
reg = <0x211000 0x1ed000>;
};
vendor_partition: partition@3fe000 {
label = "vendor-data";
Expand Down

0 comments on commit fbf1de0

Please sign in to comment.