Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -1
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
Expand Down Expand Up @@ -29,7 +29,7 @@ BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
Expand All @@ -42,15 +42,15 @@ BraceWrapping:
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

English | [中文](README_cn.md)

<img src="https://static-cdn.m5stack.com/resource/docs/static/assets/img/product_pics/core/core2/core2_01.webp" alt="M5Core2_P1" width="350" height="350">
<img src="https://static-cdn.m5stack.com/resource/docs/products/core/core2/core2_01.webp" alt="M5Core2_P1" width="350" height="350">

**For the Detailed documentation of M5Core2, Please [Click here](https://docs.m5stack.com/en/core/core2)**

Expand All @@ -26,7 +26,7 @@ The 3 icons on the front of the screen are capacitive buttons which are programm

## M5Core2 M-BUS Schematic diagram

<img src="https://static-cdn.m5stack.com/resource/docs/static/assets/img/product_pics/core/core2/core2_mbus.webp" width = "50%">
<img src="https://static-cdn.m5stack.com/resource/docs/products/core/core2/core2_mbus_01.webp" width = "50%">

## More Information

Expand Down
7,518 changes: 7,518 additions & 0 deletions examples/Basics/speak/data.c

Large diffs are not rendered by default.

10,175 changes: 111 additions & 10,064 deletions examples/Basics/speak/speak.ino

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"type": "git",
"url": "https://github.com/m5stack/M5Core2.git"
},
"version": "0.1.9",
"version": "0.2.0",
"frameworks": "arduino",
"platforms": "espressif32",
"headers": "M5Core2.h"
}
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=M5Core2
version=0.1.9
version=0.2.0
author=M5Stack
maintainer=M5Stack
sentence=Library for M5Stack Core2 development kit
Expand Down
2 changes: 2 additions & 0 deletions src/utility/In_eSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

// #define ESP32 //Just used to test ESP32 options

#include "hal/gpio_ll.h"

// Include header file that defines the fonts loaded, the TFT drivers
// available and the pins to be used
#include "In_eSPI_Setup.h"
Expand Down
Loading