-
Notifications
You must be signed in to change notification settings - Fork 806
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add environment for board Wemos Lolin C3 mini
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1539,6 +1539,43 @@ build_flags = | |
custom_description = BLE gateway on the C3 | ||
custom_hardware = AirM2M ESP32C3-CORE | ||
|
||
; Wemos Lolin C3 mini v2.3.0 | ||
[env:lolin_c3_mini] | ||
;platform = ${com.esp32_c3_s3_platform} ; standard is @5.2.0, causes `assert rwble.c 261` error | ||
platform = [email protected] ; override to @5.3.0. Includes a fixed for the `assert rwble.c 261` error | ||
board = lolin_c3_mini | ||
board_build.partitions = min_spiffs.csv | ||
monitor_speed = 115200 | ||
lib_deps = | ||
${com-esp.lib_deps} | ||
${libraries.wifimanager32} | ||
${libraries.ble} | ||
${libraries.decoder} | ||
build_flags = | ||
${com-esp.build_flags} | ||
'-DZgatewayBT="BT"' | ||
; FastLED must be disabled. FastLED is not compatible with this board at the current moment. | ||
; The LED pins must still be defined, to avoid an error loop on pin definitions. | ||
; Available GPIOs are 0 - 8, 10, 20, 21. | ||
; See https://community.openmqttgateway.com/t/watchdog-kills-omg-on-esp32-c3-within-seconds/2192/15 | ||
'-DLED_SEND_RECEIVE=10' | ||
'-DLED_INFO=6' | ||
'-DLED_ERROR=7' | ||
'-DTRIGGER_GPIO=9' | ||
'-DNO_INT_TEMP_READING=true' ; No internal temperature on ESP32 C3 or S3 | ||
'-DGateway_Name="OpenMQTTGateway_ESP32C3_BLE"' | ||
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] | ||
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' | ||
|
||
[env:thingpulse-espgateway] | ||
platform = ${com.esp32_platform} | ||
board = esp32dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters