Skip to content

Commit 35991d2

Browse files
committed
Some tweaks
1 parent ee7489e commit 35991d2

File tree

2 files changed

+35
-41
lines changed

2 files changed

+35
-41
lines changed

library.json

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,33 @@
11
{
2-
"name": "M5Unit-HEART",
3-
"description": "Library for M5Stack UNIT HEART Using M5UnitUnified",
4-
"keywords": "M5Stack UNIT HEART, M5UnitUnified",
5-
"authors": {
6-
"name": "M5Stack",
7-
"url": "http://www.m5stack.com"
8-
},
9-
"repository": {
10-
"type": "git",
11-
"url": "https://github.com/m5stack/M5Unit-HEART.git"
12-
},
13-
"dependencies": {
14-
"M5UnitUnified": "https://github.com/m5stack/M5UnitUnified.git",
15-
"M5Utility": "https://github.com/m5stack/M5Utility.git",
16-
"M5HAL": "https://github.com/m5stack/M5HAL.git"
17-
},
18-
"version": "0.0.1",
19-
"frameworks": [
20-
"arduino",
21-
"espidf"
22-
],
23-
"platforms": [
24-
"espressif32"
25-
],
26-
"headers": "M5UnitUnifiedHEART.h"
27-
}
2+
"name": "M5Unit-HEART",
3+
"description": "Library for M5Stack UNIT HEART Using M5UnitUnified",
4+
"keywords": "M5Stack UNIT HEART, M5UnitUnified",
5+
"authors": {
6+
"name": "M5Stack",
7+
"url": "http://www.m5stack.com"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/m5stack/M5Unit-HEART.git"
12+
},
13+
"dependencies": {
14+
"M5UnitUnified": "https://github.com/m5stack/M5UnitUnified.git",
15+
"M5Utility": "https://github.com/m5stack/M5Utility.git",
16+
"M5HAL": "https://github.com/m5stack/M5HAL.git"
17+
},
18+
"version": "0.0.1",
19+
"frameworks": [
20+
"arduino"
21+
],
22+
"platforms": [
23+
"espressif32"
24+
],
25+
"headers": "M5UnitUnifiedHEART.h",
26+
"license": "MIT",
27+
"export": {
28+
"exclude":
29+
[
30+
"docs/html"
31+
]
32+
}
33+
}

platformio.ini

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
; For UnitTest and examples (Using M5UnitUnified)
44
;-----------------------------------------------------------------------
55
[platformio]
6+
;default_envs = test_UnitHEART_Core, test_UnitHEART_Core2, test_UnitHEART_CoreS3, test_UnitHEART_Fire, test_UnitHEART_StampS3, test_UnitHEART_Dial, test_UnitHEART_AtomS3, test_UnitHEART_NanoC6, test_UnitHEART_StickCPlus, test_UnitHEART_Paper
7+
;default_envs = PlotToSerial_Core_Arduino_latest, PlotToSerial_Core_Arduino_5_4_0, PlotToSerial_Core_Arduino_4_4_0, PlotToSerial_Core2_Arduino_latest, PlotToSerial_Core2_Arduino_5_4_0, PlotToSerial_Core2_Arduino_4_4_0, PlotToSerial_CoreS3_Arduino_latest, PlotToSerial_StampS3_Arduino_latest, PlotToSerial_AtomS3_Arduino_latest, PlotToSerial_Dial_Arduino_latest, PlotToSerial_NanoC6_Arduino_latest, PlotToSerial_StickCPlus_Arduino_latest, PlotToSerial_Paper_Arduino_latest, PlotToSerial_Fire_Arduino_latest, PlotToSerial_Fire_Arduino_5_4_0, PlotToSerial_Fire_Arduino_4_4_0
68

79
[env]
810
build_flags =-Wall -Wextra -Wreturn-local-addr -Werror=format -Werror=return-local-addr
911
lib_ldf_mode = deep
1012
test_framework = googletest
1113
test_build_src = true
1214
lib_deps=m5stack/M5Unified
13-
https://github.com/m5stack/M5Utility#develop
14-
https://github.com/m5stack/M5HAL#develop
15-
https://github.com/m5stack/M5UnitUnified#develop
15+
m5stack/M5UnitUnified
1616

1717
; --------------------------------
1818
[m5base]
@@ -242,18 +242,6 @@ build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial
242242
extends=Core, option_release, arduino_5_4_0
243243
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
244244

245-
;[env:PlotToSerial_Core_Arduino350]
246-
;extends=m5base, option_release, arduino_3_5_0
247-
;board = m5stack-grey
248-
;lib_deps = ${env.lib_deps}
249-
;build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
250-
251-
;; Waiting for M5HAL to support ESP-IDF
252-
;[env:PlotToSerial_Core_espidf]
253-
;extends=Core, option_release, esp-idf
254-
;build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
255-
;build_flags = ${env.build_flags} ${option_release.build_flags} -DUSING_M5HAL
256-
257245
[env:PlotToSerial_Core2_Arduino_latest]
258246
extends=Core2, option_release, arduino_latest
259247
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>

0 commit comments

Comments
 (0)