From 304fa399d074eb56e7b03b53d5ce3d95a709cb30 Mon Sep 17 00:00:00 2001 From: cjkas Date: Wed, 21 Oct 2026 21:03:38 +0200 Subject: [PATCH] chore: make SomfyController a .cpp instead of an .ino PlatformIO converts an .ino into a fresh .cpp on every build, so the main file recompiled and the firmware relinked even when nothing had changed (about 25s of a no-change build of esp32dev). As a .cpp it only rebuilds when it changes. The release assets keep their SomfyController.ino.*.bin names, which the workflow sets itself. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 --- src/{SomfyController.ino => SomfyController.cpp} | 0 2 files changed, 3 deletions(-) rename src/{SomfyController.ino => SomfyController.cpp} (100%) diff --git a/.gitignore b/.gitignore index ac78fb2..e05d7b9 100644 --- a/.gitignore +++ b/.gitignore @@ -27,9 +27,6 @@ elf_archive/ coredump_report.txt coredump.bin -# Project Specific / Generated Source -src/SomfyController.ino.cpp - # Ignore Somfy INO/Bin files SomfyController.ino.XIAO_ESP32S3.bin SomfyController.ino.esp32c3.bin diff --git a/src/SomfyController.ino b/src/SomfyController.cpp similarity index 100% rename from src/SomfyController.ino rename to src/SomfyController.cpp