Compare commits

...

4 Commits

Author SHA1 Message Date
f0e237cd71 Switch to PIO image
Some checks failed
Test compiling project / test (push) Failing after 0s
2025-05-24 16:02:15 +00:00
7b0f3d20b0 Switch to devcontainer
Some checks are pending
Test compiling project / test (push) Waiting to run
2025-05-24 15:59:22 +00:00
ef04f1077c Merge branch 'main' of ssh://gitea.maiertobi.de:222/tobimai/waterlevel-software
All checks were successful
Test compiling project / test (push) Successful in 2m42s
2025-04-18 21:05:09 +02:00
47445d6cd5 version bump 2025-04-18 21:05:07 +02:00
4 changed files with 28 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
{
"name": "Waterlevel Software Development",
"dockerComposeFile": "docker-compose.yaml",
"service": "app",
"workspaceFolder": "/workspace",
"customizations": {
"vscode": {
"extensions": [
"platformio.platformio-ide",
"mutantdino.resourcemonitor",
"ms-azuretools.vscode-docker",
"meezilla.json"
]
}
}
}

View File

@@ -0,0 +1,9 @@
version: '3.8'
services:
app:
image: gitea.maiertobi.de/tobimai/devcontainer-pio:latest
user: tobi:tobi
volumes:
- ..:/workspace:cached
- /home/tobi/.ssh:/home/tobi/.ssh:ro
command: sleep infinity

View File

@@ -6,13 +6,9 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: debian:latest
image: gitea.maiertobi.de/tobimai/devcontainer-pio:latest
steps:
- name: Install necessary dependencies
run: apt update && apt install nodejs python3 python3-pip git curl -y
- name: Install Platformio
run: pip install --break-system-packages --upgrade platformio
- name: Checkout Code
uses: actions/checkout@v2
- name: Run PlatformIO Tests

View File

@@ -7,7 +7,7 @@
#define water_level_min_key "water_level_min"
#define water_level_max_key "water_level_max"
#define water_volume_key "water_volume"
#define current_software_version Version{1, 2, 0}
#define current_software_version Version{1, 3, 0}
#define REQUIRED_SPIFFS_VERSION Version{8, 0, 0}
#define RESISTOR_VALUE 4