Skip to content

Commit 71255e4

Browse files
committed
Merge branch 'develop'
2 parents 2ba5509 + e57dd23 commit 71255e4

File tree

22 files changed

+5326
-33
lines changed

22 files changed

+5326
-33
lines changed

.clang-format

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Language: Cpp
33
BasedOnStyle: Google
4-
AccessModifierOffset: -1
4+
AccessModifierOffset: -4
55
AlignAfterOpenBracket: Align
66
AlignConsecutiveMacros: true
77
AlignConsecutiveAssignments: true
@@ -29,7 +29,7 @@ BraceWrapping:
2929
AfterClass: false
3030
AfterControlStatement: false
3131
AfterEnum: false
32-
AfterFunction: false
32+
AfterFunction: true
3333
AfterNamespace: false
3434
AfterObjCDeclaration: false
3535
AfterStruct: false
@@ -42,7 +42,7 @@ BraceWrapping:
4242
SplitEmptyRecord: true
4343
SplitEmptyNamespace: true
4444
BreakBeforeBinaryOperators: None
45-
BreakBeforeBraces: Attach
45+
BreakBeforeBraces: Custom
4646
BreakBeforeInheritanceComma: false
4747
BreakInheritanceList: BeforeColon
4848
BreakBeforeTernaryOperators: true

.github/workflows/clang-format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout # When pull_request is used, include it in the checkout https://zenn.dev/hkusu/articles/c731862051438b
41-
uses: actions/checkout@v3.1.0
41+
uses: actions/checkout@v4
4242
with:
4343
ref: ${{ github.event.pull_request.head.sha }}
4444

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
# Product Name
1+
# M5Unit - GESTURE
22

33
## Overview
44

5-
### SKU:xxx
5+
Library for UnitHUB using [M5UnitUnified](https://github.com/m5stack/M5UnitUnified).
6+
M5UnitUnified is a library for unified handling of various M5 units products.
67

7-
Description of the product
8+
### SKU:U127
89

9-
## Related Link
10-
11-
- [Document & Datasheet](https://docs.m5stack.com/en/unit/product_Link)
10+
PAJ7620U2 touchless Gesture Moving Recognition Sensor Recognize up to 9 Gestures It's a touchless 3D gesture recognition sensor via the I2C interface that integrates with PAJ7620U2. You could feel the charm of 9 kinds of gesture recognition by default program. In addition to adding more complex gestures, the recognition rate is up to 240Hz with higher anti-interference capability. This sensor is reliable for its recognition process is intuitive and has low power consumption (operating current only 2.2mA) that allows you to control a robot in accordance with your hand's movement. This is particularly useful in interactive applications.
1211

13-
## Required Libraries:
12+
Support 9 gestures:
1413

15-
- [Adafruit_BMP280_Library](https://github.com/adafruit/Required_Libraries_Link)
14+
Up, Down, Left, Right, Front, Back, Clockwise, Counterclockwise, Quick wave
1615

17-
## License
1816

19-
- [Product Name- MIT](LICENSE)
20-
21-
## Remaining steps(Editorial Staff Look,After following the steps, remember to delete all the content below)
22-
23-
1. Change [clang format check path](./.github/workflows/clang-format-check.yml#L9-L15).
24-
2. Add License content to [LICENSE](/LICENSE).
25-
3. Change link on line 78 of [bug-report.yml](./.github/ISSUE_TEMPLATE/bug-report.yml#L78).
17+
## Related Link
18+
See also examples using conventional methods here.
2619

27-
```cpp
28-
Example
29-
# M5Unit-ENV
20+
- [Unit GESTURE & Datasheet](https://docs.m5stack.com/en/unit/Gesture)
3021

31-
## Overview
22+
## Required Libraries:
3223

33-
### SKU:U001 & U001-B & U001-C
24+
- [M5UnitUnified](https://github.com/m5stack/M5UnitUnified)
25+
- [M5Utility](https://github.com/m5stack/M5Utility)
26+
- [M5HAL](https://github.com/m5stack/M5HAL)
3427

35-
Contains M5Stack-**UNIT ENV** series related case programs.ENV is an environmental sensor with integrated SHT30 and QMP6988 internally to detect temperature, humidity, and atmospheric pressure data.
28+
## License
3629

37-
## Related Link
30+
- [M5Unit-GESTURE- MIT](LICENSE)
3831

39-
- [Document & Datasheet](https://docs.m5stack.com/en/unit/envIII)
32+
## Examples
33+
See also [examples/UnitUnified](examples/UnitUnified)
4034

41-
## Required Libraries:
35+
## Doxygen document
36+
If you want to generate documents on your local machine, execute the following command
4237

43-
- [Adafruit_BMP280_Library](https://github.com/adafruit/Adafruit_BMP280_Library)
38+
```
39+
bash docs/doxy.sh
40+
```
4441

45-
## License
42+
It will output it under docs/html
43+
If you want to output Git commit hashes to html, do it for the git cloned folder.
4644

47-
- [M5Unit-ENV - MIT](LICENSE)
48-
```
45+
### Required
46+
- [Doxyegn](https://www.doxygen.nl/)
47+
- [pcregrep](https://formulae.brew.sh/formula/pcre2)
48+
- [Git](https://git-scm.com/) (Output commit hash to html)

boards/m5stack-nanoc6.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"build": {
3+
"core": "esp32",
4+
"extra_flags": [
5+
"-DARDUINO_M5Stack_NanoC6"
6+
],
7+
"f_cpu": "160000000L",
8+
"f_flash": "80000000L",
9+
"flash_mode": "qio",
10+
"mcu": "esp32c6",
11+
"variant": "esp32c6"
12+
},
13+
"connectivity": [
14+
"wifi"
15+
],
16+
"debug": {
17+
"openocd_target": "esp32c6.cfg"
18+
},
19+
"frameworks": [
20+
"arduino",
21+
"espidf"
22+
],
23+
"name": "M5Stack NanoC6",
24+
"upload": {
25+
"flash_size": "4MB",
26+
"maximum_ram_size": 327680,
27+
"maximum_size": 4194384,
28+
"require_upload_port": true,
29+
"speed": 460800
30+
},
31+
"url": "https://docs.m5stack.com/en/core/M5NanoC6",
32+
"vendor": "M5Stack"
33+
}

0 commit comments

Comments
 (0)