mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12808 from OpenNuvoton/nuvoton_kvstore_flashiap
KVStore: Remove incorrect check with non-default configuration of FLASHIAPpull/12917/head
commit
d5c9220bdc
|
@ -1107,6 +1107,10 @@ int kv_get_flash_bounds_from_config(bd_addr_t *start_address, bd_size_t *size)
|
|||
return MBED_ERROR_INVALID_SIZE;
|
||||
}
|
||||
}
|
||||
|
||||
// Non-default configuration. Maybe in front of application, so in front of FLASHIAP_APP_ROM_END_ADDR. Must skip after-application check below.
|
||||
flash.deinit();
|
||||
return MBED_SUCCESS;
|
||||
}
|
||||
|
||||
flash.deinit();
|
||||
|
|
Loading…
Reference in New Issue