forked from fashberg/WThermostatBeca
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
4 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 |
---|---|---|
|
@@ -16,7 +16,9 @@ extra_configs = platformio_override.ini | |
default_envs = wthermostat | ||
|
||
[common] | ||
appversion = 1.20.beta3-fas | ||
# appversion is just devel, during github-actions its set to branch-date-hash or tagname by platformio_override.ini | ||
# you can set your own in your local platformio_override.ini (see platformio_override.sample.ini) | ||
appversion = 1.20.dev | ||
framework = arduino | ||
board = esp01_1m | ||
board_build.flash_mode = dout | ||
|
@@ -69,6 +71,7 @@ extra_scripts = | |
pio/strip-floats.py | ||
pio/name-firmware.py | ||
|
||
|
||
[env] | ||
platform = ${common.platform} | ||
platform_packages = ${common.platform_packages} | ||
|
@@ -90,13 +93,18 @@ check_tool = ${common.check_tool} | |
check_flags = ${common.check_flags} | ||
check_severity = ${common.check_severity} | ||
|
||
|
||
# this is the default production env | ||
[env:wthermostat] | ||
build_type = release | ||
build_flags = ${env.build_flags} | ||
upload_protocol = custom | ||
upload_command = python pio/espupload.py -u 10.10.200.80 -f $SOURCE | ||
lib_deps = ${env.lib_deps} | ||
|
||
# this is the minimal version. No MQTT and no Thermostat Support. | ||
# meant for OTA Upgrading when standard is too small. | ||
# After flashing minimal do an upgrade to normal | ||
[env:wthermostat-minimal] | ||
build_type = release | ||
build_flags = ${env.build_flags} | ||
|
@@ -106,6 +114,9 @@ lib_deps = | |
paulstoffregen/Time@^1.6.1 | ||
[email protected] | ||
|
||
# this is the debug version | ||
# do NOT install to real thermostat hardware | ||
# it's meant for flashing to nodemcu for development/testing | ||
[env:wthermostat-debug] | ||
board = nodemcuv2 | ||
build_type = debug | ||
|
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