This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/littlefs/kv_test/arch_psm.h
jzlv 356f258e83 [sync] sync from internal repo
* use nuttx libc, disable system libc
* use tlsf as default
* update lhal flash driver
* add example readme
* add flash ini for new flash tool
* add fw header for new flash tool
2023-01-17 21:04:07 +08:00

15 lines
596 B
C

#ifndef __ARCH_PSM_H__
#define __ARCH_PSM_H__
int arch_psm_init(void);
int arch_psm_get_value(const char* name_space, const char* key, void *value, size_t length);
int arch_psm_set_value(const char* name_space, const char* key, const void* value, size_t length);
int arch_psm_del_value(const char* name_space, const char* key);
int arch_psm_get_str(const char* name_space, const char* key, char *str, size_t str_size);
int arch_psm_set_str(const char* name_space, const char* key, const char* str);
int arch_psm_erase_key(const char* name_space, const char* key);
#endif /* __ARCH_PSM_H__ */