From e2f68ecc9457cdecabf2429e33287edb6d9e9a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 9 Feb 2019 13:42:46 +0100 Subject: [PATCH] Entry to build images for Sonoff Basic R2 with DHT and DALLAS support --- code/platformio.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/code/platformio.ini b/code/platformio.ini index 67be54c6..22e6f27e 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -435,6 +435,17 @@ build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 monitor_speed = ${common.monitor_speed} extra_scripts = ${common.extra_scripts} +[env:itead-sonoff-basic-r2-dht] +platform = ${common.platform} +framework = ${common.framework} +board = ${common.board_1m} +board_build.flash_mode = ${common.flash_mode} +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 -DDHT_PIN=2 +monitor_speed = ${common.monitor_speed} +extra_scripts = ${common.extra_scripts} + [env:itead-sonoff-basic-dht-ota] platform = ${common.platform} framework = ${common.framework} @@ -460,6 +471,17 @@ build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1 monitor_speed = ${common.monitor_speed} extra_scripts = ${common.extra_scripts} +[env:itead-sonoff-basic-r2-dallas] +platform = ${common.platform} +framework = ${common.framework} +board = ${common.board_1m} +board_build.flash_mode = ${common.flash_mode} +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1 -DDALLAS_PIN=2 +monitor_speed = ${common.monitor_speed} +extra_scripts = ${common.extra_scripts} + [env:itead-sonoff-rf] platform = ${common.platform} framework = ${common.framework}