Skip to content

Commit

Permalink
Lolin C3 mini: disable serial output as a default
Browse files Browse the repository at this point in the history
  • Loading branch information
Argafal authored and Argafal committed Mar 8, 2023
1 parent ff8ac76 commit a0ae7ce
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions environments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1564,17 +1564,20 @@ build_flags =
'-DTRIGGER_GPIO=9'
'-DNO_INT_TEMP_READING=true' ; No internal temperature on ESP32 C3 or S3
'-DGateway_Name="OpenMQTTGateway_ESP32C3_BLE"'
; Serial output currently causes a delay on each message, if no serial listener is connected.
; Therefore we disable serial output. Use the _with_serial environment if you
; need serial output for debugging purposes.
'-DLOG_LEVEL=LOG_LEVEL_SILENT' ; disable serial logging.
'-DWM_DEBUG_LEVEL=DEBUG_ERROR' ; disable serial logging.
custom_description = BLE gateway on ESP32C3
custom_hardware = Wemos Lolin C3 mini v2.3.0

; Serial output currently causes a delay on each message, if no serial listener is connected.
; Use the _no_serial environment unless you are actively debugging.
[env:lolin_c3_mini_no_serial]
[env:lolin_c3_mini_with_serial]
extends = env:lolin_c3_mini
build_flags =
${env:lolin_c3_mini.build_flags}
'-DLOG_LEVEL=LOG_LEVEL_SILENT' ; disable serial logging.
'-DWM_DEBUG_LEVEL=0'
'-DLOG_LEVEL=LOG_LEVEL_NOTICE' ;default
'-DWM_DEBUG_LEVEL=DEBUG_NOTIFY' ;default

[env:thingpulse-espgateway]
platform = ${com.esp32_platform}
Expand Down

0 comments on commit a0ae7ce

Please sign in to comment.