diff --git a/remote/code/LICENSE b/remote/code/LICENSE new file mode 100644 index 0000000..c206105 --- /dev/null +++ b/remote/code/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2026 M5Stack Technology CO LTD + +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/remote/code/main/StackChan-RemoteControl-ESPNow.cpp b/remote/code/main/StackChan-RemoteControl-ESPNow.cpp index 7df07d4..5248f49 100644 --- a/remote/code/main/StackChan-RemoteControl-ESPNow.cpp +++ b/remote/code/main/StackChan-RemoteControl-ESPNow.cpp @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "M5Unified.h" extern "C" { diff --git a/remote/code/main/esp_now/esp_now_init.c b/remote/code/main/esp_now/esp_now_init.c index 71277f2..073d74f 100644 --- a/remote/code/main/esp_now/esp_now_init.c +++ b/remote/code/main/esp_now/esp_now_init.c @@ -1,4 +1,8 @@ - +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "esp_now_init.h" /** diff --git a/remote/code/main/esp_now/esp_now_init.h b/remote/code/main/esp_now/esp_now_init.h index bcd4d12..350ec8a 100644 --- a/remote/code/main/esp_now/esp_now_init.h +++ b/remote/code/main/esp_now/esp_now_init.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef __ESP_NOW_INIT_H__ #define __ESP_NOW_INIT_H__ diff --git a/remote/code/main/joystick/joystick_basic.h b/remote/code/main/joystick/joystick_basic.h index 1a9ad0c..ced9832 100644 --- a/remote/code/main/joystick/joystick_basic.h +++ b/remote/code/main/joystick/joystick_basic.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef _JOYSTICK_BASIC_H_ #define _JOYSTICK_BASIC_H_ diff --git a/remote/code/main/joystick/joystick_handle.c b/remote/code/main/joystick/joystick_handle.c index ecd21ee..db1334b 100644 --- a/remote/code/main/joystick/joystick_handle.c +++ b/remote/code/main/joystick/joystick_handle.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "joystick_handle.h" i2c_bus_device_handle_t i2c_device1; // i2c device handle diff --git a/remote/code/main/joystick/joystick_handle.h b/remote/code/main/joystick/joystick_handle.h index 08ddcb5..b1e0608 100644 --- a/remote/code/main/joystick/joystick_handle.h +++ b/remote/code/main/joystick/joystick_handle.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef __JOYSTICK_HANDLE_H__ #define __JOYSTICK_HANDLE_H__ diff --git a/remote/code/main/lvgl_port.cpp b/remote/code/main/lvgl_port.cpp index f98c701..fc5b24a 100644 --- a/remote/code/main/lvgl_port.cpp +++ b/remote/code/main/lvgl_port.cpp @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "lvgl_port.h" #include #include "M5GFX.h" diff --git a/remote/code/main/lvgl_port.h b/remote/code/main/lvgl_port.h index 7392a5e..8971582 100644 --- a/remote/code/main/lvgl_port.h +++ b/remote/code/main/lvgl_port.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef LVGL_PORT_H #define LVGL_PORT_H diff --git a/remote/code/main/ui/ui.c b/remote/code/main/ui/ui.c index b70346f..1583c42 100644 --- a/remote/code/main/ui/ui.c +++ b/remote/code/main/ui/ui.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "ui.h" /** diff --git a/remote/code/main/ui/ui.h b/remote/code/main/ui/ui.h index 858bad7..069c831 100644 --- a/remote/code/main/ui/ui.h +++ b/remote/code/main/ui/ui.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef UI_H #define UI_H diff --git a/remote/code/main/ui/ui_imu_screen.c b/remote/code/main/ui/ui_imu_screen.c index 9f7d022..e99079b 100644 --- a/remote/code/main/ui/ui_imu_screen.c +++ b/remote/code/main/ui/ui_imu_screen.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "ui_imu_screen.h" #include #include diff --git a/remote/code/main/ui/ui_imu_screen.h b/remote/code/main/ui/ui_imu_screen.h index cd59694..b581e3c 100644 --- a/remote/code/main/ui/ui_imu_screen.h +++ b/remote/code/main/ui/ui_imu_screen.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef UI_IMU_SCREEN_H #define UI_IMU_SCREEN_H diff --git a/remote/code/main/ui/ui_running_screen.c b/remote/code/main/ui/ui_running_screen.c index deaff59..dfcce26 100644 --- a/remote/code/main/ui/ui_running_screen.c +++ b/remote/code/main/ui/ui_running_screen.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "ui_running_screen.h" #include "../lvgl_port.h" #include "freertos/FreeRTOS.h" diff --git a/remote/code/main/ui/ui_running_screen.h b/remote/code/main/ui/ui_running_screen.h index 6921a89..9e1ceca 100644 --- a/remote/code/main/ui/ui_running_screen.h +++ b/remote/code/main/ui/ui_running_screen.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef _UI_RUNNING_SCREEN_H_ #define _UI_RUNNING_SCREEN_H_ diff --git a/remote/code/main/ui/ui_setup_screen.c b/remote/code/main/ui/ui_setup_screen.c index b039046..fedc1d0 100644 --- a/remote/code/main/ui/ui_setup_screen.c +++ b/remote/code/main/ui/ui_setup_screen.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #include "ui_setup_screen.h" #include "../lvgl_port.h" #include "freertos/FreeRTOS.h" diff --git a/remote/code/main/ui/ui_setup_screen.h b/remote/code/main/ui/ui_setup_screen.h index 7702016..2e98c1e 100644 --- a/remote/code/main/ui/ui_setup_screen.h +++ b/remote/code/main/ui/ui_setup_screen.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD + * + * SPDX-License-Identifier: MIT + */ #ifndef _UI_SETUP_SCREEN_H_ #define _UI_SETUP_SCREEN_H_