add MIT License

This commit is contained in:
jyy
2026-05-12 10:10:00 +08:00
parent 8ba3252677
commit f71b5ccdd6
17 changed files with 102 additions and 1 deletions
+22
View File
@@ -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.
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#include "M5Unified.h"
extern "C" {
+5 -1
View File
@@ -1,4 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#include "esp_now_init.h"
/**
+5
View File
@@ -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__
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#ifndef _JOYSTICK_BASIC_H_
#define _JOYSTICK_BASIC_H_
@@ -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
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#ifndef __JOYSTICK_HANDLE_H__
#define __JOYSTICK_HANDLE_H__
+5
View File
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#include "lvgl_port.h"
#include <M5Unified.h>
#include "M5GFX.h"
+5
View File
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#ifndef LVGL_PORT_H
#define LVGL_PORT_H
+5
View File
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#include "ui.h"
/**
+5
View File
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#ifndef UI_H
#define UI_H
+5
View File
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#include "ui_imu_screen.h"
#include <math.h>
#include <stdio.h>
+5
View File
@@ -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
+5
View File
@@ -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"
+5
View File
@@ -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_
+5
View File
@@ -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"
+5
View File
@@ -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_