46 #ifndef _SYSTEMLIB_FLASHPARAMS_NUTTX_PARAM_H 47 #define _SYSTEMLIB_FLASHPARAMS_NUTTX_PARAM_H 62 #if !defined(PARAMETER_BUFFER_SIZE) 63 #define PARAMETER_BUFFER_SIZE 512
__BEGIN_DECLS typedef uint32_t flash_file_tokens_t
__EXPORT const flash_file_token_t parameters_token
struct sector_descriptor_t sector_descriptor_t
__EXPORT void parameter_flashfs_free(void)
struct flash_file_token_t flash_file_token_t
__EXPORT int parameter_flashfs_alloc(flash_file_token_t ft, uint8_t **buffer, size_t *buf_size)
__EXPORT int parameter_flashfs_init(sector_descriptor_t *fconfig, uint8_t *buffer, uint16_t size)
__EXPORT int parameter_flashfs_read(flash_file_token_t ft, uint8_t **buffer, size_t *buf_size)
__EXPORT int parameter_flashfs_write(flash_file_token_t ft, uint8_t *buffer, size_t buf_size)
uint8_t n[sizeof(flash_file_tokens_t)]
__EXPORT int parameter_flashfs_erase(void)