-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added support for `ESP32-S2` - Wi-Fi WPS now enabled for both ESP32 and ESP8266 targets by default - Fixed bug in time-client - Now using FreeRTOS task by default for automation program engine if PSRAM is detected
- Loading branch information
Showing
10 changed files
with
281 additions
and
115 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
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 |
---|---|---|
|
@@ -42,17 +42,28 @@ lib_deps_8266 = | |
[env:default] | ||
platform = [email protected] | ||
build_flags = ${env.build_flags} | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"-1","io-typ01":"Switch","io-pin01":"5","io-typ02":"Switch","io-pin02":"13","io-typ03":"Dimmer","io-pin03":"14","io-typ04":"Dimmer","io-pin04":"15"}' | ||
|
||
[env:default-c3] | ||
platform = [email protected] | ||
board = esp32-c3-devkitc-02 | ||
#board = esp32-c3-devkitm-1 | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_C3 -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=1 | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"-1","io-typ01":"Switch","io-pin01":"7","io-typ02":"Switch","io-pin02":"8","io-typ03":"Dimmer","io-pin03":"9","io-typ04":"Dimmer","io-pin04":"10"}' | ||
|
||
[env:default-s2-mini] | ||
platform = [email protected] | ||
board = lolin_s2_mini | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_S2 -D BOARD_HAS_PSRAM | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"15","io-typ01":"Switch","io-pin01":"7","io-typ02":"Switch","io-pin02":"8","io-typ03":"Dimmer","io-pin03":"9","io-typ04":"Dimmer","io-pin04":"10"}' | ||
lib_ignore = | ||
ESP32_BleSerial | ||
|
||
[env:default-d1-mini] | ||
platform = [email protected] | ||
board = d1_mini | ||
build_flags = ${env.build_flags} -D DISABLE_UI -D DISABLE_AUTOMATION | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"16","io-typ01":"Switch","io-pin01":"14","io-typ02":"Switch","io-pin02":"27","io-typ03":"Switch","io-pin03":"27","io-typ04":"Switch","io-pin04":"27"}' | ||
lib_deps = ${env.lib_deps_8266} | ||
${env.lib_deps} | ||
lib_ignore = | ||
|
@@ -63,7 +74,7 @@ lib_ignore = | |
[env:sonoff-dualr3] | ||
platform = [email protected] | ||
build_flags = ${env.build_flags} -D DISABLE_UI -D CONFIG_AUTOMATION_SPAWN_FREERTOS_TASK | ||
-D DEFAULT_CONFIG='{"sys_bt_pin":"0","sys_sl_pin":"13","io-typ01":"Switch","io-pin01":"14","io-typ02":"Switch","io-pin02":"27"}' | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"13","io-typ01":"Switch","io-pin01":"14","io-typ02":"Switch","io-pin02":"27","io-typ03":"Switch","io-pin03":"27","io-typ04":"Switch","io-pin04":"27"}' | ||
|
||
|
||
#------------------[ Examples ]------------------ | ||
|
@@ -72,7 +83,7 @@ build_flags = ${env.build_flags} -D DISABLE_UI -D CONFIG_AUTOMATION_SPAWN_FREERT | |
[env:smart-sensor] | ||
platform = [email protected] | ||
build_flags = ${env.build_flags} -I examples -I src -D DISABLE_UI | ||
-D DEFAULT_CONFIG='{"io-typ01":"Dimmer","io-pin01":"15","io-typ02":"Dimmer","io-pin02":"17","sdht-typ":"22","sdht-pin":"21","motn-typ":"switch","motn-pin":"16"}' | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"-1","io-typ01":"Dimmer","io-pin01":"15","io-typ02":"Dimmer","io-pin02":"17","sdht-typ":"22","sdht-pin":"21","motn-typ":"switch","motn-pin":"16"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/smart-sensor> | ||
lib_deps = ${env.lib_deps} | ||
RobTillaart/[email protected] | ||
|
@@ -85,19 +96,32 @@ platform = [email protected] | |
board = esp32-c3-devkitc-02 | ||
#board = esp32-c3-devkitm-1 | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_C3 -D DISABLE_UI -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=1 | ||
-D DEFAULT_CONFIG='{"io-typ01":"Dimmer","io-pin01":"4","io-typ02":"Dimmer","io-pin02":"5","sdht-typ":"22","sdht-pin":"7","motn-typ":"switch","motn-pin":"6"}' | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"9","sys-sl-n":"-1","io-typ01":"Dimmer","io-pin01":"4","io-typ02":"Dimmer","io-pin02":"5","sdht-typ":"22","sdht-pin":"7","motn-typ":"switch","motn-pin":"6"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/smart-sensor> | ||
lib_deps = ${env.lib_deps} | ||
RobTillaart/[email protected] | ||
[email protected] | ||
lib_ignore = | ||
LovyanGFX | ||
|
||
[env:smart-sensor-s2-mini] | ||
platform = [email protected] | ||
board = lolin_s2_mini | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_S2 -D DISABLE_UI -D BOARD_HAS_PSRAM | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"15","io-typ01":"Dimmer","io-pin01":"4","io-typ02":"Dimmer","io-pin02":"5","sdht-typ":"22","sdht-pin":"7","motn-typ":"switch","motn-pin":"6"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/smart-sensor> | ||
lib_deps = ${env.lib_deps} | ||
RobTillaart/[email protected] | ||
[email protected] | ||
lib_ignore = | ||
ESP32_BleSerial | ||
LovyanGFX | ||
|
||
[env:smart-sensor-d1-mini] | ||
platform = [email protected] | ||
board = d1_mini | ||
build_flags = ${env.build_flags} -I examples -I src -D DISABLE_UI -D DISABLE_AUTOMATION | ||
-D DEFAULT_CONFIG='{"sys_bt_pin":"2","sys_sl_pin":"16","soth-typ":"ds18b20","soth-pin":"0","ligh-typ":"ldr","ligh-pin":"17"}' | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"16","sys_bt_pin":"2","sys_sl_pin":"16","soth-typ":"ds18b20","soth-pin":"0","ligh-typ":"ldr","ligh-pin":"17"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/smart-sensor> | ||
lib_deps = ${env.lib_deps_8266} | ||
${env:smart-sensor.lib_deps} | ||
|
@@ -109,16 +133,16 @@ lib_ignore = | |
[env:smart-sensor-display] | ||
platform = [email protected] | ||
build_flags = ${env.build_flags} -I examples -I src -D DISABLE_AUTOMATION | ||
-D DEFAULT_CONFIG='{"io-typ01":"Dimmer","io-pin01":"15","io-typ02":"Dimmer","io-pin02":"17","sdht-typ":"22","sdht-pin":"21","motn-typ":"switch","motn-pin":"16"}' | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"-1","io-typ01":"Dimmer","io-pin01":"15","io-typ02":"Dimmer","io-pin02":"17","sdht-typ":"22","sdht-pin":"21","motn-typ":"switch","motn-pin":"16"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/smart-sensor> -<examples/smart-sensor/smart-sensor.cpp> +<examples/smart-sensor-display> | ||
board_build.partitions = ./src/partitions.csv | ||
lib_deps = ${env:smart-sensor.lib_deps} | ||
|
||
[env:smart-sensor-display-s3] | ||
platform = [email protected] | ||
board = esp32-s3-devkitc-1 | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_S3 -D CONFIG_AUTOMATION_SPAWN_FREERTOS_TASK -DESP32S3_DEV -DBOARD_HAS_PSRAM | ||
-D DEFAULT_CONFIG='{"io-typ01":"Dimmer","io-pin01":"15","io-typ02":"Dimmer","io-pin02":"17","sdht-typ":"22","sdht-pin":"21","motn-typ":"switch","motn-pin":"16"}' | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_S3 -D CONFIG_AUTOMATION_SPAWN_FREERTOS_TASK -D ESP32S3_DEV -D BOARD_HAS_PSRAM | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"-1","io-typ01":"Dimmer","io-pin01":"15","io-typ02":"Dimmer","io-pin02":"17","sdht-typ":"22","sdht-pin":"21","motn-typ":"switch","motn-pin":"16"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/smart-sensor> -<examples/smart-sensor/smart-sensor.cpp> +<examples/smart-sensor-display> | ||
board_build.mcu = esp32s3 | ||
board_build.f_cpu = 240000000L | ||
|
@@ -235,6 +259,7 @@ platform = [email protected] | |
board = d1_mini | ||
build_flags = ${env.build_flags} -I examples -I src -D DISABLE_UI -D DISABLE_AUTOMATION | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/color-light> | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"16","leds-typ":"6","leds-cnt":"64","leds-spd":"0","leds-pin":"8"}' | ||
lib_deps = ${env.lib_deps_8266} | ||
${env.lib_deps} | ||
https://github.com/adafruit/Adafruit_NeoPixel#1.12.0 | ||
|
@@ -248,9 +273,21 @@ platform = [email protected] | |
board = esp32-c3-devkitc-02 | ||
#board = esp32-c3-devkitm-1 | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_C3 -D DISABLE_UI -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=1 | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/color-light> | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"9","sys-sl-n":"-1","leds-typ":"6","leds-cnt":"64","leds-spd":"0","leds-pin":"8"}' | ||
lib_deps = ${env.lib_deps} | ||
https://github.com/adafruit/Adafruit_NeoPixel#1.12.0 | ||
|
||
[env:color-light-s2-mini] | ||
platform = [email protected] | ||
board = lolin_s2_mini | ||
build_flags = ${env.build_flags} -I examples -I src -D ESP32_S2 -D BOARD_HAS_PSRAM | ||
-D DEFAULT_CONFIG='{"sys-rb-n":"0","sys-sl-n":"15","leds-typ":"6","leds-cnt":"64","leds-spd":"0","leds-pin":"8"}' | ||
build_src_filter = +<src> -<src/main.cpp> +<examples/color-light> | ||
lib_deps = ${env.lib_deps} | ||
https://github.com/adafruit/Adafruit_NeoPixel#1.12.0 | ||
lib_ignore = | ||
ESP32_BleSerial | ||
|
||
|
||
[env:shutter] | ||
|
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
Oops, something went wrong.