diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1c583fa --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +MIT License + +Copyright (c) 2026 Stefan Koelle + +https://stefankoelle.de + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 1218d0e..135256e 100644 --- a/README.md +++ b/README.md @@ -135,3 +135,7 @@ Icons werden prozedural als LVGL-Canvas-Objekte gezeichnet (keine externen Bitma ## Referenzprojekt Vorgängerprojekt mit M5Stack Core: + +## Lizenz + +Dieses Projekt steht unter der [MIT-Lizenz](LICENSE). diff --git a/include/board_pins.h b/include/board_pins.h index fa2ded3..601036c 100644 --- a/include/board_pins.h +++ b/include/board_pins.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once // WT32-SC01 Plus pin assignments (ESP32-S3, ST7796 8-bit parallel, FT6336U touch). diff --git a/include/date_utils.h b/include/date_utils.h index 5085781..601e068 100644 --- a/include/date_utils.h +++ b/include/date_utils.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/include/lv_conf.h b/include/lv_conf.h index db1bba8..ef9a6db 100644 --- a/include/lv_conf.h +++ b/include/lv_conf.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License /** * @file lv_conf.h * Configuration file for v9.5.0 diff --git a/include/text_utils.h b/include/text_utils.h index 002f47f..3084422 100644 --- a/include/text_utils.h +++ b/include/text_utils.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/include/theme.h b/include/theme.h index 27d3453..24bf7be 100644 --- a/include/theme.h +++ b/include/theme.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/src/api/calendar_api.cpp b/src/api/calendar_api.cpp index 27aabec..9a5f020 100644 --- a/src/api/calendar_api.cpp +++ b/src/api/calendar_api.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "calendar_api.h" #include "http_client.h" #include diff --git a/src/api/calendar_api.h b/src/api/calendar_api.h index f28be54..f8efc8d 100644 --- a/src/api/calendar_api.h +++ b/src/api/calendar_api.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include #include diff --git a/src/api/departures_api.cpp b/src/api/departures_api.cpp index 0688faa..7ccdefa 100644 --- a/src/api/departures_api.cpp +++ b/src/api/departures_api.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "departures_api.h" #include "http_client.h" #include diff --git a/src/api/departures_api.h b/src/api/departures_api.h index 3ebef16..703d124 100644 --- a/src/api/departures_api.h +++ b/src/api/departures_api.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include #include diff --git a/src/api/http_client.cpp b/src/api/http_client.cpp index 5c93e7a..e4859f4 100644 --- a/src/api/http_client.cpp +++ b/src/api/http_client.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "http_client.h" #include #include diff --git a/src/api/http_client.h b/src/api/http_client.h index 5c8c6eb..32b5070 100644 --- a/src/api/http_client.h +++ b/src/api/http_client.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/src/api/weather_api.cpp b/src/api/weather_api.cpp index d69d8cd..6eafd89 100644 --- a/src/api/weather_api.cpp +++ b/src/api/weather_api.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "weather_api.h" #include "http_client.h" #include diff --git a/src/api/weather_api.h b/src/api/weather_api.h index 464b5db..0854d4a 100644 --- a/src/api/weather_api.h +++ b/src/api/weather_api.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include #include diff --git a/src/data/data_manager.cpp b/src/data/data_manager.cpp index e25a01e..ddf8ea0 100644 --- a/src/data/data_manager.cpp +++ b/src/data/data_manager.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "data_manager.h" #include #include diff --git a/src/data/data_manager.h b/src/data/data_manager.h index 728fd80..ab17d66 100644 --- a/src/data/data_manager.h +++ b/src/data/data_manager.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include #include "api/weather_api.h" diff --git a/src/display/display_setup.cpp b/src/display/display_setup.cpp index 60544da..bd4c15a 100644 --- a/src/display/display_setup.cpp +++ b/src/display/display_setup.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "display_setup.h" #include #include diff --git a/src/display/display_setup.h b/src/display/display_setup.h index dd8c9f0..3ec68a8 100644 --- a/src/display/display_setup.h +++ b/src/display/display_setup.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/src/icons/icons.cpp b/src/icons/icons.cpp index 7f258c7..6cdd588 100644 --- a/src/icons/icons.cpp +++ b/src/icons/icons.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "icons.h" #include diff --git a/src/icons/icons.h b/src/icons/icons.h index 9796d5a..0cb9468 100644 --- a/src/icons/icons.h +++ b/src/icons/icons.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include #include diff --git a/src/main.cpp b/src/main.cpp index 56b82a1..79c2e08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include #include #include diff --git a/src/ui/calendar_detail_screen.cpp b/src/ui/calendar_detail_screen.cpp index 0c064fd..bc8d290 100644 --- a/src/ui/calendar_detail_screen.cpp +++ b/src/ui/calendar_detail_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "calendar_detail_screen.h" #include "ui/widgets/back_button.h" #include "data/data_manager.h" diff --git a/src/ui/calendar_detail_screen.h b/src/ui/calendar_detail_screen.h index 3a87a38..86e47e4 100644 --- a/src/ui/calendar_detail_screen.h +++ b/src/ui/calendar_detail_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include "ui/screen_base.h" diff --git a/src/ui/home_screen.cpp b/src/ui/home_screen.cpp index 8971ce3..e618e87 100644 --- a/src/ui/home_screen.cpp +++ b/src/ui/home_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "home_screen.h" #include "ui/widgets/tile_button.h" #include "icons/icons.h" diff --git a/src/ui/home_screen.h b/src/ui/home_screen.h index 150e52a..e892d72 100644 --- a/src/ui/home_screen.h +++ b/src/ui/home_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include "ui/screen_base.h" diff --git a/src/ui/mvg_screen.cpp b/src/ui/mvg_screen.cpp index 4b8c952..833aaa2 100644 --- a/src/ui/mvg_screen.cpp +++ b/src/ui/mvg_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "mvg_screen.h" #include "ui/widgets/back_button.h" #include "api/departures_api.h" diff --git a/src/ui/mvg_screen.h b/src/ui/mvg_screen.h index fe54335..3485da8 100644 --- a/src/ui/mvg_screen.h +++ b/src/ui/mvg_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include "ui/screen_base.h" diff --git a/src/ui/screen_base.h b/src/ui/screen_base.h index 639b7ff..9015769 100644 --- a/src/ui/screen_base.h +++ b/src/ui/screen_base.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/src/ui/weather_detail_screen.cpp b/src/ui/weather_detail_screen.cpp index 4687077..4f36ad2 100644 --- a/src/ui/weather_detail_screen.cpp +++ b/src/ui/weather_detail_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "weather_detail_screen.h" #include "ui/widgets/back_button.h" #include "data/data_manager.h" diff --git a/src/ui/weather_detail_screen.h b/src/ui/weather_detail_screen.h index 1a29fcb..37aa441 100644 --- a/src/ui/weather_detail_screen.h +++ b/src/ui/weather_detail_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include "ui/screen_base.h" diff --git a/src/ui/widgets/back_button.cpp b/src/ui/widgets/back_button.cpp index d8a89e9..2bd51a9 100644 --- a/src/ui/widgets/back_button.cpp +++ b/src/ui/widgets/back_button.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "back_button.h" #include diff --git a/src/ui/widgets/back_button.h b/src/ui/widgets/back_button.h index c230b01..c01e0e5 100644 --- a/src/ui/widgets/back_button.h +++ b/src/ui/widgets/back_button.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include diff --git a/src/ui/widgets/tile_button.cpp b/src/ui/widgets/tile_button.cpp index cb0aa13..8d0628a 100644 --- a/src/ui/widgets/tile_button.cpp +++ b/src/ui/widgets/tile_button.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #include "tile_button.h" TileButton tile_button_create(lv_obj_t *parent, lv_coord_t x, lv_coord_t y, diff --git a/src/ui/widgets/tile_button.h b/src/ui/widgets/tile_button.h index 1d39d81..1e8cb39 100644 --- a/src/ui/widgets/tile_button.h +++ b/src/ui/widgets/tile_button.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle - https://stefankoelle.de - MIT License #pragma once #include #include