Tasmota/lib/libesp32_div/NimBLE-Arduino/tasmota_lib_changes.md

39 lines
849 B
Markdown
Raw Normal View History

2022-01-30 15:31:07 +00:00
Attention when updating library. Changes in lib needed!!
2022-02-12 19:01:12 +00:00
Changes in src/nimble/porting/nimble/include/log_common/log_common.h
```
/*
#define LOG_LEVEL_DEBUG (0)
#define LOG_LEVEL_INFO (1)
#define LOG_LEVEL_WARN (2)
#define LOG_LEVEL_ERROR (3)
#define LOG_LEVEL_CRITICAL (4)
#define LOG_LEVEL_NONE (5)
*/
#define LOG_LEVEL_DEBUG (3)
#define LOG_LEVEL_INFO (2)
#define LOG_LEVEL_WARN (4)
#define LOG_LEVEL_ERROR (1)
#define LOG_LEVEL_CRITICAL (5)
#define LOG_LEVEL_NONE (0)
```
Change in nimconfig.h
`#define CONFIG_BT_NIMBLE_NVS_PERSIST 1`
to
`#define CONFIG_BT_NIMBLE_NVS_PERSIST 0`
and line 249 from
`
#if !defined(CONFIG_IDF_TARGET_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32C3)
`
to
`
#if !defined(CONFIG_IDF_TARGET_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S3)
`