Skip to content

Add GPL-3.0 copyright headers to all source files#2

Merged
peterus merged 2 commits into
mainfrom
add-copyright-headers
Mar 10, 2026
Merged

Add GPL-3.0 copyright headers to all source files#2
peterus merged 2 commits into
mainfrom
add-copyright-headers

Conversation

@peterus

@peterus peterus commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Add the standard GPL-3.0-or-later copyright and license header to all source files (.cpp, .h, .c), HTML files, and the sim_build.py script. Update copilot-instructions.md with mandatory copyright header section.

Add the standard GPL-3.0-or-later copyright and license header to all
source files (.cpp, .h, .c), HTML files, and the sim_build.py script.
Update copilot-instructions.md with mandatory copyright header section.
Copilot AI review requested due to automatic review settings March 10, 2026 18:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Dieser PR ergänzt in OpenDriveHub durchgängig den standardisierten GPL-3.0-or-later Copyright-/Lizenz-Header (inkl. SPDX) am Dateianfang, um die Lizenzkennzeichnung über Firmware-, Simulations- und Web-Assets hinweg konsistent zu machen. Zusätzlich wird die Contributor-Anleitung aktualisiert, damit neue Dateien künftig verpflichtend mit dem Header starten.

Changes:

  • GPL-3.0-or-later Header (inkl. SPDX) zu C/C++ Quellen & Headern in firmware/src, firmware/lib, firmware/include, firmware/sim sowie zu Unity-Tests hinzugefügt.
  • GPL-Header zu den Receiver/Transmitter Web-index.html Dateien und zu sim_build.py hinzugefügt.
  • .github/copilot-instructions.md um eine verpflichtende Copyright-Header-Sektion ergänzt; kleinere Formatierungsanpassungen in einigen Dateien.

Reviewed changes

Copilot reviewed 80 out of 80 changed files in this pull request and generated no comments.

Show a summary per file
File Description
firmware/test/test_native/test_protocol.cpp GPL-Header hinzugefügt; kleinere Formatierung/Umbrüche angepasst
firmware/test/test_native/test_function_map.cpp GPL-Header hinzugefügt; kleine Formatierung angepasst
firmware/test/test_native/test_display.cpp GPL-Header hinzugefügt
firmware/src/transmitter/web/TransmitterApi.h GPL-Header hinzugefügt
firmware/src/transmitter/web/TransmitterApi.cpp GPL-Header hinzugefügt
firmware/src/transmitter/modules/SwitchModule.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/SwitchModule.cpp GPL-Header hinzugefügt
firmware/src/transmitter/modules/PotModule.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/PotModule.cpp GPL-Header hinzugefügt
firmware/src/transmitter/modules/ModuleManager.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/ModuleManager.cpp GPL-Header hinzugefügt
firmware/src/transmitter/modules/InputMap.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/IModule.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/EncoderModule.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/EncoderModule.cpp GPL-Header hinzugefügt
firmware/src/transmitter/modules/ButtonModule.h GPL-Header hinzugefügt
firmware/src/transmitter/modules/ButtonModule.cpp GPL-Header hinzugefügt
firmware/src/transmitter/main.cpp GPL-Header hinzugefügt
firmware/src/transmitter/display/display_utils.h GPL-Header hinzugefügt
firmware/src/transmitter/display/Display.h GPL-Header hinzugefügt
firmware/src/transmitter/display/Display.cpp GPL-Header hinzugefügt
firmware/src/transmitter/backplane/Backplane.h GPL-Header hinzugefügt
firmware/src/transmitter/backplane/Backplane.cpp GPL-Header hinzugefügt
firmware/src/transmitter/TransmitterApp.h GPL-Header hinzugefügt
firmware/src/transmitter/TransmitterApp.cpp GPL-Header hinzugefügt
firmware/src/receiver/web/ReceiverApi.h GPL-Header hinzugefügt
firmware/src/receiver/web/ReceiverApi.cpp GPL-Header hinzugefügt
firmware/src/receiver/output/Pca9685Output.h GPL-Header hinzugefügt
firmware/src/receiver/output/Pca9685Output.cpp GPL-Header hinzugefügt
firmware/src/receiver/output/LoggingOutput.h GPL-Header hinzugefügt
firmware/src/receiver/output/IOutputDriver.h GPL-Header hinzugefügt
firmware/src/receiver/main.cpp GPL-Header hinzugefügt
firmware/src/receiver/ReceiverApp.h GPL-Header hinzugefügt
firmware/src/receiver/ReceiverApp.cpp GPL-Header hinzugefügt
firmware/src/receiver/OutputManager.h GPL-Header hinzugefügt
firmware/src/receiver/OutputManager.cpp GPL-Header hinzugefügt
firmware/sim/src/sim_wire.cpp GPL-Header hinzugefügt
firmware/sim/src/sim_wifi.cpp GPL-Header hinzugefügt
firmware/sim/src/sim_preferences.cpp GPL-Header hinzugefügt
firmware/sim/src/sim_keyboard.cpp GPL-Header hinzugefügt
firmware/sim/src/sim_freertos.cpp GPL-Header hinzugefügt; Includes/Formatierung angepasst
firmware/sim/src/sim_espnow.cpp GPL-Header hinzugefügt; Include-Order/Formatierung angepasst
firmware/sim/src/sim_async_webserver.cpp GPL-Header hinzugefügt
firmware/sim/src/sim_arduino.cpp GPL-Header hinzugefügt; kleine Formatierung angepasst
firmware/sim/sim_build.py GPL-Header (Python-Kommentare) hinzugefügt
firmware/sim/include/sim_keyboard.h GPL-Header hinzugefügt
firmware/sim/include/freertos/task.h GPL-Header hinzugefügt; Deklaration formatiert
firmware/sim/include/freertos/semphr.h GPL-Header hinzugefügt
firmware/sim/include/freertos/FreeRTOS.h GPL-Header hinzugefügt; Makro-Spacing angepasst
firmware/sim/include/esp_now.h GPL-Header hinzugefügt; Makro-Spacing angepasst
firmware/sim/include/Wire.h GPL-Header hinzugefügt; Inline-Methoden formatiert
firmware/sim/include/WiFi.h GPL-Header hinzugefügt; Formatierung angepasst
firmware/sim/include/TFT_eSPI.h GPL-Header hinzugefügt; Inline-Methoden formatiert
firmware/sim/include/Preferences.h GPL-Header hinzugefügt
firmware/sim/include/LittleFS.h GPL-Header hinzugefügt
firmware/sim/include/ESPAsyncWebServer.h GPL-Header hinzugefügt
firmware/sim/include/Arduino.h GPL-Header hinzugefügt
firmware/sim/include/Adafruit_PCF8574.h GPL-Header hinzugefügt
firmware/sim/include/Adafruit_ADS1X15.h GPL-Header hinzugefügt; Inline-Methoden formatiert
firmware/lib/odh-web/OdhWebServer.h GPL-Header hinzugefügt
firmware/lib/odh-web/OdhWebServer.cpp GPL-Header hinzugefügt
firmware/lib/odh-web/ApiHandler.h GPL-Header hinzugefügt
firmware/lib/odh-telemetry/TelemetryData.h GPL-Header hinzugefügt
firmware/lib/odh-telemetry/TelemetryData.cpp GPL-Header hinzugefügt
firmware/lib/odh-telemetry/BatteryMonitor.h GPL-Header hinzugefügt
firmware/lib/odh-telemetry/BatteryMonitor.cpp GPL-Header hinzugefügt
firmware/lib/odh-radio/TransmitterRadioLink.h GPL-Header hinzugefügt
firmware/lib/odh-radio/TransmitterRadioLink.cpp GPL-Header hinzugefügt
firmware/lib/odh-radio/ReceiverRadioLink.h GPL-Header hinzugefügt
firmware/lib/odh-radio/ReceiverRadioLink.cpp GPL-Header hinzugefügt
firmware/lib/odh-radio/IRadioLink.h GPL-Header hinzugefügt
firmware/lib/odh-protocol/Protocol.h GPL-Header hinzugefügt
firmware/lib/odh-protocol/FunctionMap.h GPL-Header hinzugefügt
firmware/lib/odh-config/NvsStore.h GPL-Header hinzugefügt
firmware/lib/odh-config/Config.h GPL-Header hinzugefügt
firmware/include/lv_conf.h GPL-Header hinzugefügt
firmware/include/User_Setup.h GPL-Header hinzugefügt
firmware/data/transmitter/index.html GPL-Header (HTML-Kommentar) hinzugefügt
firmware/data/receiver/index.html GPL-Header (HTML-Kommentar) hinzugefügt
.github/copilot-instructions.md “Copyright Header (mandatory)” Sektion ergänzt

Verifies that all source files (.cpp, .h, .c), HTML files, and Python
scripts contain the SPDX-License-Identifier: GPL-3.0-or-later marker
in the first 25 lines. Update copilot-instructions.md with the new job.
@peterus peterus merged commit 3d20155 into main Mar 10, 2026
8 checks passed
@peterus peterus deleted the add-copyright-headers branch March 10, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants