summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-08-18 14:02:59 -0700
committerScott Shawcroft <scott@tannewt.org>2020-08-19 14:23:28 -0700
commit9602ee6265ff20f6e075753bbb105578f680d519 (patch)
treefb311eca03ab924b2c686bf51b1c584b849ec475
parentdcc42f6281ad928c6218acaab8e72bdf52038851 (diff)
Disable wifi debug logging and memory log
-rw-r--r--ports/esp32s2/sdkconfig.defaults9
-rwxr-xr-xsupervisor/shared/memory.c4
2 files changed, 1 insertions, 12 deletions
diff --git a/ports/esp32s2/sdkconfig.defaults b/ports/esp32s2/sdkconfig.defaults
index 2faaa028c..a50b61ebf 100644
--- a/ports/esp32s2/sdkconfig.defaults
+++ b/ports/esp32s2/sdkconfig.defaults
@@ -354,14 +354,7 @@ CONFIG_ESP32_WIFI_RX_BA_WIN=6
# CONFIG_ESP32_WIFI_NVS_ENABLED is not set
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
-CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE=y
-CONFIG_ESP32_WIFI_DEBUG_LOG_DEBUG=y
-# CONFIG_ESP32_WIFI_DEBUG_LOG_VERBOSE is not set
-# CONFIG_ESP32_WIFI_DEBUG_LOG_MODULE_ALL is not set
-CONFIG_ESP32_WIFI_DEBUG_LOG_MODULE_WIFI=y
-# CONFIG_ESP32_WIFI_DEBUG_LOG_MODULE_COEX is not set
-# CONFIG_ESP32_WIFI_DEBUG_LOG_MODULE_MESH is not set
-# CONFIG_ESP32_WIFI_DEBUG_LOG_SUBMODULE is not set
+# CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE is not set
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set
diff --git a/supervisor/shared/memory.c b/supervisor/shared/memory.c
index 79bdeef9d..8ae8a1699 100755
--- a/supervisor/shared/memory.c
+++ b/supervisor/shared/memory.c
@@ -31,9 +31,6 @@
#include "supervisor/shared/display.h"
-#include "esp_log.h"
-static const char *TAG = "memory";
-
#define CIRCUITPY_SUPERVISOR_ALLOC_COUNT (12)
static supervisor_allocation allocations[CIRCUITPY_SUPERVISOR_ALLOC_COUNT];
@@ -42,7 +39,6 @@ uint32_t* low_address;
uint32_t* high_address;
void memory_init(void) {
- ESP_LOGE(TAG, "memory init");
low_address = port_heap_get_bottom();
high_address = port_heap_get_top();
}