Skip to content

Commit

Permalink
Versioning and Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
fashberg committed Sep 11, 2022
1 parent 1c5fda6 commit ceab985
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"recommendations": [
"bierner.github-markdown-preview",
"davidanson.vscode-markdownlint",
"ms-vscode.cpptools-extension-pack",
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}
2 changes: 1 addition & 1 deletion lib/WAdapter
Submodule WAdapter updated 1 files
+2 −2 WAdapter/WNetwork.h
2 changes: 1 addition & 1 deletion pio/espupload.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
#
# espupload by Theo Arends - 20170930
# Modified for WTHermostat by Folke Ashberg - 202010
# Modified for WThermostat by Folke Ashberg - 202010
#
# Uploads binary file to OTA server
#
Expand Down
13 changes: 12 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,6 +71,7 @@ extra_scripts =
pio/strip-floats.py
pio/name-firmware.py


[env]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
Expand All @@ -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}
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions platformio_override.sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ default_envs =
# wthermostat-debug

[common]
# define here the name of your fw
appversion = devel-xyz
# Upload-Speed an COM-Port
monitor_speed = 9600
upload_speed = 115200
Expand Down

0 comments on commit ceab985

Please sign in to comment.