From 009aa1686a21c0f651c6d90a78521250501e9873 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 15 Apr 2018 18:15:31 +0200 Subject: [PATCH] platformio.ini: amendments --- platformio.ini | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index ac82926b..2793ccc1 100644 --- a/platformio.ini +++ b/platformio.ini @@ -17,9 +17,7 @@ env_default = ttgov2 ;env_default = lopy4 ;env_default = lolin32lite_lora ;env_default = lolin32_lora - -; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- -; otherwise device may crash in dense environments due to serial buffer overflow +description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around. [env:heltec_wifi_lora_32] platform = espressif32 @@ -31,6 +29,8 @@ lib_deps = U8g2 build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE @@ -53,6 +53,8 @@ lib_deps = U8g2 build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE @@ -73,6 +75,8 @@ lib_deps = U8g2 build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE @@ -94,6 +98,8 @@ lib_deps = SmartLeds build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE @@ -115,6 +121,8 @@ lib_deps = SmartLeds build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE @@ -136,6 +144,8 @@ lib_deps = SmartLeds build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE @@ -157,6 +167,8 @@ lib_deps = SmartLeds build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework +; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <--- +; otherwise device may crash in dense environments due to serial buffer overflow ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE