5 years ago.

Can i change NVStore size without custom address?

I want to change my NVStore Size,but won't change address ( i don't want change something i don't understand)

I found https://github.com/ARMmbed/mbed-os-example-nvstore/blob/master/mbed_app-K64F-8KB-areas.json#L8-L15 change address with size.

{
    "target_overrides": {
        "*": {
            "platform.stdio-baud-rate": 115200,
            "platform.default-serial-baud-rate": 115200,
            "platform.stdio-convert-newlines": 1
        },
        "K64F": {
            "nvstore.max_keys": 20,
            "nvstore.area_1_address": "0xFC000",
            "nvstore.area_1_size"   : "0x2000",
            "nvstore.area_2_address": "0xFE000",
            "nvstore.area_2_size"   : "0x2000"
        }
    }
}
Be the first to answer this question.