-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from bmorcelli/main
Ports to Core devices LGTM 😶🌫️
- Loading branch information
Showing
294 changed files
with
1,722,112 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ | |
"bitset": "cpp", | ||
"complex": "cpp", | ||
"ctime": "cpp", | ||
"regex": "cpp" | ||
"regex": "cpp", | ||
"list": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
nvs, data, nvs, 0x9000, 0x6000, | ||
app0, app, ota_0, 0x10000, 0x470000, | ||
spiffs, data, spiffs, 0x480000, 0xB70000, | ||
coredump, data, coredump, 0xFF0000, 0x10000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
set(COMPONENT_ADD_INCLUDEDIRS | ||
src | ||
) | ||
file(GLOB SRCS | ||
src/*.cpp | ||
src/lgfx/Fonts/efont/*.c | ||
src/lgfx/Fonts/IPA/*.c | ||
src/lgfx/utility/*.c | ||
src/lgfx/v1/*.cpp | ||
src/lgfx/v1/misc/*.cpp | ||
src/lgfx/v1/panel/*.cpp | ||
src/lgfx/v1/platforms/esp32/*.cpp | ||
src/lgfx/v1/platforms/esp32c3/*.cpp | ||
src/lgfx/v1/platforms/esp32s3/*.cpp | ||
src/lgfx/v1/touch/*.cpp | ||
) | ||
set(COMPONENT_SRCS ${SRCS}) | ||
|
||
if (IDF_VERSION_MAJOR GREATER_EQUAL 5) | ||
set(COMPONENT_REQUIRES nvs_flash efuse driver esp_timer) | ||
elseif ((IDF_VERSION_MAJOR EQUAL 4) AND (IDF_VERSION_MINOR GREATER 3) OR IDF_VERSION_MAJOR GREATER 4) | ||
set(COMPONENT_REQUIRES nvs_flash efuse esp_lcd) | ||
else() | ||
set(COMPONENT_REQUIRES nvs_flash efuse) | ||
endif() | ||
|
||
### If you use arduino-esp32 components, please activate next comment line. | ||
# list(APPEND COMPONENT_REQUIRES arduino-esp32) | ||
|
||
|
||
message(STATUS "M5GFX use components = ${COMPONENT_REQUIRES}") | ||
|
||
register_component() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 M5Stack | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# M5GFX | ||
|
||
Graphics library for M5Stack series | ||
|
||
Supported framework | ||
---------------- | ||
- ESP-IDF | ||
- Arduino for ESP32 | ||
|
||
|
||
Supported device | ||
---------------- | ||
- M5Stack ( Basic / Gray / GO / Fire ) | ||
- M5Stack Core2 | ||
- M5Stack CoreInk | ||
- M5Stick C | ||
- M5Stick C Plus | ||
- M5Stick C Plus2 | ||
- M5Paper | ||
- M5Tough | ||
- M5Station | ||
- M5ATOMS3 | ||
- M5Dial | ||
- M5DinMeter | ||
- M5Cardputer | ||
- UnitOLED | ||
- UnitMiniOLED | ||
- UnitLCD | ||
- [UnitRCA / ModuleRCA](docs/UnitRCA.md) | ||
- [UnitGLASS](docs/UnitGLASS.md) | ||
- UnitGLASS2 | ||
- [AtomDisplay](docs/ATOMDisplay.md) / ModuleDisplay | ||
|
||
|
||
License | ||
---------------- | ||
M5GFX : [MIT](LICENSE) | ||
LovyanGFX : [FreeBSD](https://github.com/lovyan03/LovyanGFX/blob/master/license.txt) lovyan03 | ||
TJpgDec : [original](src/lgfx/utility/lgfx_tjpgd.c) ChaN | ||
Pngle : [MIT](https://github.com/kikuchan/pngle/blob/master/LICENSE) kikuchan | ||
QRCode : [MIT](https://github.com/ricmoo/QRCode/blob/master/LICENSE.txt) Richard Moore and Nayuki | ||
result : [MIT](https://github.com/bitwizeshift/result/blob/master/LICENSE) Matthew Rodusek | ||
GFX font and GLCD font : [2-clause BSD](https://github.com/adafruit/Adafruit-GFX-Library/blob/master/license.txt) Adafruit Industries | ||
Font 2,4,6,7,8 : [FreeBSD](https://github.com/Bodmer/TFT_eSPI/blob/master/license.txt) Bodmer | ||
converted IPA font : [IPA Font License](src/lgfx/Fonts/IPA/IPA_Font_License_Agreement_v1.0.txt) IPA | ||
efont : [3-clause BSD](src/lgfx/Fonts/efont/COPYRIGHT.txt) The Electronic Font Open Laboratory | ||
TomThumb font : [3-clause BSD](src/lgfx/Fonts/GFXFF/TomThumb.h) Brian J. Swetland / Vassilii Khachaturov / Dan Marks | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Main Makefile. This is basically the same as a component makefile. | ||
# | ||
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) | ||
|
||
COMPONENT_SRCDIRS := src | ||
COMPONENT_ADD_INCLUDEDIRS := src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Graphics library for M5Stack series | ||
issues: https://github.com/m5stack/M5GFX/issues | ||
repository: https://github.com/m5stack/M5GFX.git | ||
url: https://github.com/m5stack/M5GFX.git | ||
version: 0.1.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "M5GFX", | ||
"description": "Library for M5Stack All Display", | ||
"keywords": "M5GFX,M5Stack,M5StackCore2,M5StackCoreInk,M5StickC,M5StickC-Plus,M5Paper,M5Tough,M5Station,M5ATOMS3,UnitOLED,UnitLCD,UnitRCA,ATOMDisplay", | ||
"authors": { | ||
"name": "M5Stack, lovyan03", | ||
"url": "http://www.m5stack.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/m5stack/M5GFX.git" | ||
}, | ||
"version": "0.1.16", | ||
"frameworks": ["arduino", "espidf", "*"], | ||
"platforms": ["espressif32", "native"], | ||
"headers": "M5GFX.h" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name=M5GFX | ||
version=0.1.16 | ||
author=M5Stack | ||
maintainer=M5Stack | ||
sentence=Library for M5Stack All Display | ||
paragraph=M5Stack, M5Stack Core2, M5Stack CoreInk, M5StickC, M5StickC-Plus, M5Paper, M5Tough, M5Station, M5ATOMS3, Unit OLED, Unit LCD, Unit RCA, ATOM Display, See more on http://M5Stack.com | ||
category=Display | ||
url=https://github.com/m5stack/M5GFX.git | ||
architectures=esp32 | ||
includes=M5GFX.h |
Oops, something went wrong.