diff --git a/platformio.ini b/platformio.ini index 755f217..af1a3c3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -173,4 +173,21 @@ build_flags = ;-D WOKWI=1 ;-D USE_TELNET=0 ;-D DEBUG_BY_DEFAULT=1 - ;-D WM_DEBUG_MODE=3 \ No newline at end of file + ;-D WM_DEBUG_MODE=3 + +[env:wemos_d1_mini32] +platform = ${esp32_defaults.platform} +board = wemos_d1_mini32 +lib_deps = ${esp32_defaults.lib_deps} +lib_ignore = ${esp32_defaults.lib_ignore} +extra_scripts = ${esp32_defaults.extra_scripts} +build_flags = + ${esp32_defaults.build_flags} + -D OT_IN_PIN_DEFAULT=21 + -D OT_OUT_PIN_DEFAULT=22 + -D SENSOR_OUTDOOR_PIN_DEFAULT=12 + -D SENSOR_INDOOR_PIN_DEFAULT=18 + -D LED_STATUS_PIN=2 + -D LED_OT_RX_PIN=19 + -D USE_SERIAL=0 + -D USE_TELNET=1