356f258e83
* 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
15 lines
596 B
C
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__ */
|
|
|