[solved] nvs_flash_init ./. nvs_flash_init_custom
Posted: Mon Oct 03, 2016 3:42 am
[NO Hurry! - after holiday is enough]
hi guys
saw the last change for this by chance
in the last try project i used nvs_flash_init(6, 3); and standard partion table from menuconfig. "single factory app, no ota"
because
Temporarily, this region is hardcoded as a 12KB (0x3000 byte)
region starting at 24KB (0x6000 byte) offset in flash
with update on SDK on nvs_flash now we can use nvs_flash_init_custom with same parameters before in nvs_flash_init
and parameters for nvs_flash_init is now (void)
https://github.com/espressif/esp-idf/bl ... lash.h#L26
if we use the standard from the menuconfig, we do not create own partion table or other and we select "single factory app, no ota",
we can use nvs_flash_init_custom(6, 3); again or we need to use nvs_flash(void); ? and this has the same effect like nvs_flash_init_custom(6, 3); ?
the things are the same now`?
nvs_flash_init_custom(6, 3);
nvs_flash_init_(void);
because we do not change the partion, then we use better hardcoded version and now without parameters?
nvs_flash_init_(void);
i ask, because since last change, got "to many arguments" from compiler i used nvs_flash_init(6, 3); with the newer changed SDK.
best wishes
rudi
hi guys
saw the last change for this by chance
in the last try project i used nvs_flash_init(6, 3); and standard partion table from menuconfig. "single factory app, no ota"
because
Temporarily, this region is hardcoded as a 12KB (0x3000 byte)
region starting at 24KB (0x6000 byte) offset in flash
with update on SDK on nvs_flash now we can use nvs_flash_init_custom with same parameters before in nvs_flash_init
and parameters for nvs_flash_init is now (void)
https://github.com/espressif/esp-idf/bl ... lash.h#L26
if we use the standard from the menuconfig, we do not create own partion table or other and we select "single factory app, no ota",
we can use nvs_flash_init_custom(6, 3); again or we need to use nvs_flash(void); ? and this has the same effect like nvs_flash_init_custom(6, 3); ?
the things are the same now`?
nvs_flash_init_custom(6, 3);
nvs_flash_init_(void);
because we do not change the partion, then we use better hardcoded version and now without parameters?
nvs_flash_init_(void);
i ask, because since last change, got "to many arguments" from compiler i used nvs_flash_init(6, 3); with the newer changed SDK.
best wishes
rudi