Skip to content

Commit 9bf8961

Browse files
committed
[ESP32-s2] Suppress SDK info/debug logs on Serial0
1 parent 9b82c0c commit 9bf8961

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

platformio_esp32_envs.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ build_flags = ${core_esp32_3_3_2.build_flags}
2424
-DCONFIG_FREERTOS_ASSERT_DISABLE
2525
-DCONFIG_LWIP_ESP_GRATUITOUS_ARP
2626
-fno-strict-aliasing
27+
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
2728
monitor_filters = esp32_exception_decoder
2829

2930

@@ -40,10 +41,7 @@ extra_scripts = ${esp32_common.extra_scripts}
4041
; ESP32-S2
4142
[env:custom_ESP32s2_4M316k]
4243
extends = esp32_common
43-
build_flags = ${core_esp32_stage.build_flags}
44-
${mqtt_flags.build_flags}
45-
-DCONFIG_FREERTOS_ASSERT_DISABLE
46-
-DCONFIG_LWIP_ESP_GRATUITOUS_ARP
44+
build_flags = ${esp32_common.build_flags}
4745
-DPLUGIN_BUILD_CUSTOM
4846
-DESP32S2
4947
board = esp32-s2-saola-1

0 commit comments

Comments
 (0)