summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-07-31 19:29:22 -0700
committerScott Shawcroft <scott@tannewt.org>2020-08-19 14:22:12 -0700
commitddcff85fa23f44c899c135b70603ba78b839a046 (patch)
tree8ca930a48250cde6df0ea7bb1ec3bf5c9aabb4ba /supervisor
parent1a6f4e0fe0f8417ea99a3cdb55d8764f47258bea (diff)
Add debugging. Scanning doesn't crash but returns no results. Need to config station.
Diffstat (limited to 'supervisor')
-rwxr-xr-xsupervisor/shared/memory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/supervisor/shared/memory.c b/supervisor/shared/memory.c
index 8ae8a1699..79bdeef9d 100755
--- a/supervisor/shared/memory.c
+++ b/supervisor/shared/memory.c
@@ -31,6 +31,9 @@
#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];
@@ -39,6 +42,7 @@ 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();
}