diff --git a/features/storage/kvstore/conf/kv_config.cpp b/features/storage/kvstore/conf/kv_config.cpp index 51513e014e..3ff9762d5a 100644 --- a/features/storage/kvstore/conf/kv_config.cpp +++ b/features/storage/kvstore/conf/kv_config.cpp @@ -1057,6 +1057,8 @@ int _storage_config_default() return _storage_config_FILESYSTEM(); #elif COMPONENT_FLASHIAP return _storage_config_TDB_INTERNAL(); +#else + return MBED_ERROR_UNSUPPORTED; #endif }