Reduce rmt debug log size to 4k

This commit is contained in:
gengyuchao
2020-07-15 10:51:58 +08:00
committed by maojianxin
parent afde3607da
commit 9b28e15688
3 changed files with 3 additions and 7 deletions

View File

@@ -462,8 +462,8 @@ esp_err_t esp_ble_scan_dupilcate_list_flush(void);
void esp_bt_check_need_restart();
#define IRAM_LOG_BUFFER_SIZE 8000
extern uint32_t* btdm_rmt_get_fixed_log_addr();
uint32_t btdm_rmt_get_log_buffer_size();
int btdm_rmt_dbg_printf_to_iram(const char* format, ...);
#define RMT_DBG_LOG_ERROR(format, ... ) btdm_rmt_dbg_printf_to_iram(DRAM_STR("E(%d):"format"\n"),esp_log_timestamp(), ##__VA_ARGS__);