From 8aa301019063a72e3b681cf824028746f0c84aaf Mon Sep 17 00:00:00 2001 From: Amir Gonnen Date: Thu, 10 Oct 2019 00:20:52 +0300 Subject: [PATCH] Update bindings (touch improvements) Use debug symbols in Release buils as well. This is useful to debug problems that happen only on Release Lower log level to WARN. Default log was Verbose and displayed every GPIO read... --- lib/lv_bindings | 2 +- ports/esp32/Makefile | 2 +- ports/esp32/boards/sdkconfig.base | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/lv_bindings b/lib/lv_bindings index 736b5f0e3..d633ad088 160000 --- a/lib/lv_bindings +++ b/lib/lv_bindings @@ -1 +1 @@ -Subproject commit 736b5f0e37d9017a80b3068416c7dc49f788dbec +Subproject commit d633ad0882a0b17c70adb1680a793ace43da7368 diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile index b6fd9c76c..7e2e798e9 100644 --- a/ports/esp32/Makefile +++ b/ports/esp32/Makefile @@ -222,8 +222,8 @@ LIBGCC_FILE_NAME = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) LIBSTDCXX_FILE_NAME = $(shell $(CXX) $(CXXFLAGS) -print-file-name=libstdc++.a) # Debugging/Optimization -ifeq ($(DEBUG), 1) CFLAGS += -g +ifeq ($(DEBUG), 1) COPT = -O0 else #CFLAGS += -fdata-sections -ffunction-sections diff --git a/ports/esp32/boards/sdkconfig.base b/ports/esp32/boards/sdkconfig.base index 7f82efdf2..171016c01 100644 --- a/ports/esp32/boards/sdkconfig.base +++ b/ports/esp32/boards/sdkconfig.base @@ -35,3 +35,6 @@ CONFIG_PPP_CHAP_SUPPORT=y CONFIG_LOG_BOOTLOADER_LEVEL_WARN=y CONFIG_SUPPORT_STATIC_ALLOCATION=y CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK=y + +# Logs +CONFIG_LOG_DEFAULT_LEVEL_WARN=y