In esp_nimble_cfg.h the existence of a #define for CONFIG_BT_NIMBLE_NVS_PERSIST is checked, but the value is ignored, so (at least for my compiler) this always sets MYNEWT_VAL_BLE_STORE_CONFIG_PERSIST to 1.
I am not totally sure, if this is undefined behavior and may work for some compilers or if it is completely wrong.
In esp_nimble_cfg.h the existence of a #define for
CONFIG_BT_NIMBLE_NVS_PERSIST
is checked, but the value is ignored, so (at least for my compiler) this always setsMYNEWT_VAL_BLE_STORE_CONFIG_PERSIST
to 1. I am not totally sure, if this is undefined behavior and may work for some compilers or if it is completely wrong.For me this change works: