Skip to content

Commit 832c69b

Browse files
author
Kyle Kearney
committed
Explicitly set tdb internal flash size for PSOC6
The default computation assumes that a flash sector is several times larger than a flash page. On PSoC 6 targets this is not the case (the two values are the same) so the computed size is too small. This is a similar change to 1b1f14d, but for devices which implement TDB in internal storage.
1 parent d91ed5f commit 832c69b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/storage/kvstore/conf/tdb_internal/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
"FVP_MPS2": {
2323
"internal_size": "0x200000",
2424
"internal_base_address": "0x00200000"
25+
},
26+
"MCU_PSOC6": {
27+
"internal_size": "7168"
2528
}
2629
}
2730
}

0 commit comments

Comments
 (0)