Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Tasmota",
"image": "mcr.microsoft.com/devcontainers/python:3",
"customizations": {
"vscode": {
"extensions": [
"platformio.platformio-ide"
]
}
}
}
19 changes: 19 additions & 0 deletions .ona/automations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
tasks:
install-platformio:
name: Install PlatformIO
description: Install the PlatformIO CLI and its dependencies via pip.
command: |
pip install --upgrade platformio
pio --version
triggeredBy:
- postDevcontainerStart

build:
name: Build firmware
description: Build a Tasmota firmware variant. Defaults to tasmota (ESP8266). Override with PIO_ENV env var, e.g. PIO_ENV=tasmota32 ona auto task start build.
command: |
pio run -e ${PIO_ENV:-tasmota}
triggeredBy:
- manual
dependsOn:
- install-platformio