Skip to content

Commit 4b8dbf6

Browse files
committed
all: Add copyright information.
Signed-off-by: lbuque <[email protected]>
1 parent 8db5d2a commit 4b8dbf6

File tree

518 files changed

+2335
-299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

518 files changed

+2335
-299
lines changed

examples/unit/angle/angle_core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import os, sys, io
26
import M5
37
from M5 import *

examples/unit/env/env_cores3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import os, sys, io
26
import M5
37
from M5 import *

examples/unit/lora_e220/lora_e220_rx_dial.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import os, sys, io
26
import M5
37
from M5 import *

examples/unit/lora_e220/lora_e220_tx_core2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import os, sys, io
26
import M5
37
from M5 import *

examples/unit/rgb/rgb_core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import os, sys, io
26
import M5
37
from M5 import *

m5stack/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# Top-level cmake file for building MicroPython on ESP32.
26

37
cmake_minimum_required(VERSION 3.16)

m5stack/CMakeListsDefault.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# Set location of base MicroPython directory.
26
if(NOT MICROPY_DIR)
37
get_filename_component(MICROPY_DIR ${PROJECT_DIR}/../micropython/ ABSOLUTE)

m5stack/CMakeListsLvgl.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# Set location of base MicroPython directory.
26
if(NOT MICROPY_DIR)
37
get_filename_component(MICROPY_DIR ${PROJECT_DIR}/../micropython/ ABSOLUTE)

m5stack/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# Makefile for MicroPython on ESP32.
26
#
37
# This is a simple, convenience wrapper around idf.py (which uses cmake).

m5stack/boards/M5STACK_4MB/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(SDKCONFIG_DEFAULTS
26
./boards/sdkconfig.base
37
./boards/sdkconfig.flash_4mb

m5stack/boards/M5STACK_4MB/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK"
28
#define MICROPY_HW_MCU_NAME "ESP32"
39

m5stack/boards/M5STACK_4MB/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# SSL
26
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=n
37
CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC=y

m5stack/boards/M5STACK_8MB/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(SDKCONFIG_DEFAULTS
26
./boards/sdkconfig.base
37
./boards/sdkconfig.flash_8mb

m5stack/boards/M5STACK_8MB/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK"
28
#define MICROPY_HW_MCU_NAME "ESP32"
39

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_airq.py")

m5stack/boards/M5STACK_AirQ/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32s3)
26

37
# airq https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L17

m5stack/boards/M5STACK_AirQ/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK AirQ"
28
#define MICROPY_HW_MCU_NAME "ESP32-S3-FN8"
39

m5stack/boards/M5STACK_AirQ/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
CONFIG_FLASHMODE_DIO=y # QIO mode has some problem when mount fs
26
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
37
CONFIG_ESPTOOLPY_FLASHMODE="dio"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_atoms3.py")

m5stack/boards/M5STACK_AtomS3/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32s3)
26

37
# atoms3 https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L13

m5stack/boards/M5STACK_AtomS3/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK AtomS3"
28
#define MICROPY_HW_MCU_NAME "ESP32-S3-FN8"
39

m5stack/boards/M5STACK_AtomS3/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
CONFIG_FLASHMODE_DIO=y # QIO mode has some problem when mount fs
26
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
37
CONFIG_ESPTOOLPY_FLASHMODE="dio"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_atoms3u.py")

m5stack/boards/M5STACK_AtomS3U/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32s3)
26

37
# atoms3u https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L28

m5stack/boards/M5STACK_AtomS3U/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK AtomS3U"
28
#define MICROPY_HW_MCU_NAME "ESP32-S3-FN8"
39

m5stack/boards/M5STACK_AtomS3U/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
CONFIG_FLASHMODE_DIO=y # QIO mode has some problem when mount fs
26
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
37
CONFIG_ESPTOOLPY_FLASHMODE="dio"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_atoms3lite.py")

m5stack/boards/M5STACK_AtomS3_Lite/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32s3)
26

37
# atoms3-lite https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L27

m5stack/boards/M5STACK_AtomS3_Lite/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK AtomS3 Lite"
28
#define MICROPY_HW_MCU_NAME "ESP32-S3-FN8"
39

m5stack/boards/M5STACK_AtomS3_Lite/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
CONFIG_FLASHMODE_DIO=y # QIO mode has some problem when mount fs
26
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
37
CONFIG_ESPTOOLPY_FLASHMODE="dio"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_basic.py")

m5stack/boards/M5STACK_Basic/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# basic https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L3
26
set(BOARD_ID 1)
37

m5stack/boards/M5STACK_Basic/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK BASIC"
28
#define MICROPY_HW_MCU_NAME "ESP32"
39

m5stack/boards/M5STACK_Basic/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# SSL
26
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=n
37
CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC=y
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_basic.py")

m5stack/boards/M5STACK_Basic_4MB/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# basic https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L3
26
set(BOARD_ID 1)
37

m5stack/boards/M5STACK_Basic_4MB/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK BASIC(4MB)"
28
#define MICROPY_HW_MCU_NAME "ESP32"
39

m5stack/boards/M5STACK_Basic_4MB/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# SSL
26
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=n
37
CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC=y

m5stack/boards/M5STACK_C3/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32c3)
26

37
set(SDKCONFIG_DEFAULTS

m5stack/boards/M5STACK_C3/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
// This configuration is for a generic ESP32C3 board with 4MiB (or more) of flash.
28

39
#define MICROPY_HW_BOARD_NAME "M5STACK C3"

m5stack/boards/M5STACK_C3_USB/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32c3)
26

37
set(SDKCONFIG_DEFAULTS

m5stack/boards/M5STACK_C3_USB/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
// This configuration is for a generic ESP32C3 board with 4MiB (or more) of flash.
28

39
#define MICROPY_HW_BOARD_NAME "M5STACK C3(USB)"

m5stack/boards/M5STACK_C3_USB/sdkconfig.usb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
CONFIG_ESP32C3_REV_MIN_3=y
26
CONFIG_ESP32C3_REV_MIN=3
37
CONFIG_ESP32C3_BROWNOUT_DET=y
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_capsule.py")

m5stack/boards/M5STACK_Capsule/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32s3)
26

37
# capsule https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L29

m5stack/boards/M5STACK_Capsule/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#define MICROPY_HW_BOARD_NAME "M5STACK Capsule"
28
#define MICROPY_HW_MCU_NAME "ESP32-S3-FN8"
39

m5stack/boards/M5STACK_Capsule/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
CONFIG_FLASHMODE_DIO=y # QIO mode has some problem when mount fs
26
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
37
CONFIG_ESPTOOLPY_FLASHMODE="dio"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
include("$(MPY_DIR)/../m5stack/modules/startup/manifest_cardputer.py")

m5stack/boards/M5STACK_Cardputer/mpconfigboard.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
set(IDF_TARGET esp32s3)
26

37
# dial https://github.com/m5stack/m5stack-board-id/blob/main/board.csv#L16

0 commit comments

Comments
 (0)