Skip to content

Commit

Permalink
Merge branch 'fixes/dependency' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
GOB52 committed Sep 30, 2024
2 parents 8b62e6b + f59421f commit 8358fa1
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 89 deletions.
27 changes: 15 additions & 12 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,21 @@ GPIO、UART は将来対応予定です。
### サポートされるユニット

#### 動作確認済
- [UnitCO2](https://github.com/m5stack/M5Unit-ENV)
- [UnitENVIII](https://github.com/m5stack/M5Unit-ENV)
- [UnitAmeter](https://github.com/m5stack/M5Unit-METER)
- [UnitVmeter](https://github.com/m5stack/M5Unit-METER)
- [UnitPaHub2](https://github.com/m5stack/M5Unit-HUB)
- [UnitGESTURE](https://github.com/m5stack/M5Unit-GESTURE)
- [UnitHEART](https://github.com/m5stack/M5Unit-HEART)
- [UnitKmeterISO](https://github.com/m5stack/M5Unit-KMeterISO)
- [UnitTVOC](https://github.com/m5stack/M5Unit-TVOC)

#### 問題があり修正中
- [UnitENVPro]((https://github.com/m5stack/M5Unit-ENV))
- [M5Unit-ENV](https://github.com/m5stack/M5Unit-ENV)
- UnitCO2
- UnitENVIII
- UnitTVOC
- UnitENVPro (いくつか問題があり修正中)
- [M5Unit-METER](https://github.com/m5stack/M5Unit-METER)
- UnitAmeter
- UnitVmeter
- UnitKmeterISO
- [M5Unit-HUB](https://github.com/m5stack/M5Unit-HUB)
- UnitPaHub2
- [M5Unit-GESTURE](https://github.com/m5stack/M5Unit-GESTURE)
- UnitGESTURE
- [M5Unit-HEART](https://github.com/m5stack/M5Unit-HEART)
- UnitHEART

他のユニットは開発、確認後追加されます。

Expand Down
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,21 +119,24 @@ Other devices will be added after confirmation of operation.
### Supported units

#### Operation confirmed
- [UnitCO2](https://github.com/m5stack/M5Unit-ENV)
- [UnitENVIII](https://github.com/m5stack/M5Unit-ENV)
- [UnitAmeter](https://github.com/m5stack/M5Unit-METER)
- [UnitVmeter](https://github.com/m5stack/M5Unit-METER)
- [UnitPaHub2](https://github.com/m5stack/M5Unit-HUB)
- [UnitGESTURE](https://github.com/m5stack/M5Unit-GESTURE)
- [UnitHEART](https://github.com/m5stack/M5Unit-HEART)
- [UnitKmeterISO](https://github.com/m5stack/M5Unit-KMeterISO)
- [UnitTVOC](https://github.com/m5stack/M5Unit-TVOC)

#### There are a few problems
- [UnitENVPro]((https://github.com/m5stack/M5Unit-ENV))

Other units will be added after they are developed and tested.
- [M5Unit-ENV](https://github.com/m5stack/M5Unit-ENV)
- UnitCO2
- UnitENVIII
- UnitTVOC
- UnitENVPro (There are a few problems)
- [M5Unit-METER](https://github.com/m5stack/M5Unit-METER)
- UnitAmeter
- UnitVmeter
- UnitKmeterISO
- [M5Unit-HUB](https://github.com/m5stack/M5Unit-HUB)
- UnitPaHub2
- [M5Unit-GESTURE](https://github.com/m5stack/M5Unit-GESTURE)
- UnitGESTURE
- [M5Unit-HEART](https://github.com/m5stack/M5Unit-HEART)
- UnitHEART

Other units will be added after they are developed and tested.

## Examples
For exampless of each unit, please refer to the respective unit's repository.
Expand Down
82 changes: 20 additions & 62 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ lib_deps=m5stack/M5Unified
m5stack/M5Unit-HUB/
m5stack/M5Unit-GESTURE/
m5stack/M5Unit-HEART/
m5stack/M5Unit-KMeterISO/
m5stack/M5Unit-TVOC/

; Using local, so ignore download by dependency
lib_ignore =M5UnitUnified

; --------------------------------
[bsec2]
lib_deps = https://github.com/boschsensortec/Bosch-BSEC2-Library.git @ 1.8.2610

[m5base]
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, time
Expand All @@ -44,46 +45,46 @@ board = m5stack-grey
;m5stack-core-esp32-16M
;m5stack-grey
;m5stack-core-esp32
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[Core2]
extends = m5base
board = m5stack-core2
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[CoreS3]
extends = m5base
board = m5stack-cores3
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[Fire]
extends = m5base
board =m5stack-fire
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[StampS3]
;include M5Capsule
extends = m5base
board = m5stack-stamps3
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[Dial]
extends = m5base
board = m5stack-stamps3
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}
m5stack/M5Dial
https://github.com/boschsensortec/Bosch-BSEC2-Library.git

[AtomS3]
extends = m5base
board = m5stack-atoms3
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

; Using ./boards/m5stack-nanoc6.json
[NanoC6]
Expand All @@ -99,15 +100,15 @@ lib_deps = ${env.lib_deps}
[StickCPlus]
extends = m5base
board = m5stick-c
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[Paper]
extends = m5base
board = m5stack-fire
; Using M5Fire instead of the M5Paper(Noting...)
lib_deps = ${env.lib_deps}
https://github.com/boschsensortec/Bosch-BSEC2-Library.git
lib_deps = ${env.lib_deps}
${bsec2.lib_deps}

[sdl]
build_flags = -O3 -xc++ -std=c++14 -lSDL2
Expand Down Expand Up @@ -172,229 +173,186 @@ custom_exclude_src_files=bme68xLibrary.cpp bsec2.cpp BMP280.cpp DHT12.cpp M5Unit

[env:test_Core]
extends=Core, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${Core.lib_deps}
${test_fw.lib_deps}

[env:test_Core2]
extends=Core2, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${Core2.lib_deps}
${test_fw.lib_deps}

[env:test_CoreS3]
extends=CoreS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${CoreS3.lib_deps}
${test_fw.lib_deps}

[env:test_Fire]
extends=Fire, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${Fire.lib_deps}
${test_fw.lib_deps}

[env:test_StampS3]
extends=StampS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${StampS3.lib_deps}
${test_fw.lib_deps}

[env:test_Dial]
extends=Dial3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${Dial.lib_deps}
${test_fw.lib_deps}

[env:test_AtomS3]
extends=AtomS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${AtomS3.lib_deps}
${test_fw.lib_deps}

[env:test_NanoC6]
extends=NanoC6, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${NanoC6.lib_deps}
${test_fw.lib_deps}

[env:test_StickCPlus]
extends=StickCPlus, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${StickCPlus.lib_deps}
${test_fw.lib_deps}

[env:test_Paper]
extends=Paper, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
lib_deps = ${Paper.lib_deps}
${test_fw.lib_deps}

;examples Simple
[env:Simple_Core]
extends=Core, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_Core2]
extends=Core2, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_CoreS3]
extends=CoreS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_Fire]
extends=Fire, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_StampS3]
extends=StampS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_Dial]
extends=Dial, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_AtomS3]
extends=AtomS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_NanoC6]
extends=NanoC6, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_StickCPlus]
extends=StickCPlus, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

[env:Simple_Paper]
extends=Paper, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/Simple>

;examples SelfUpdate
[env:SelfUpdate_Core]
extends=Core, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_Core2]
extends=Core2, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_CoreS3]
extends=CoreS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_Fire]
extends=Fire, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_StampS3]
extends=StampS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_Dial]
extends=Dial, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_AtomS3]
extends=AtomS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_NanoC6]
extends=NanoC6, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_StickCPlus]
extends=StickCPlus, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

[env:SelfUpdate_Paper]
extends=Paper, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/SelfUpdate>

;examples ComponentOnly
[env:ComponentOnly_Core]
extends=Core, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_Core2]
extends=Core2, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_CoreS3]
extends=CoreS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_Fire]
extends=Fire, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_StampS3]
extends=StampS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_Dial]
extends=Dial, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_AtomS3]
extends=AtomS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_NanoC6]
extends=NanoC6, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_StickCPlus]
extends=StickCPlus, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

[env:ComponentOnly_Paper]
extends=Paper, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/Basic/ComponentOnly>

;demo MultipleUnits
[env:MultipleUnits_Core]
extends=Core, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/demo/MultipleUnits>

[env:MultipleUnits_Core2]
extends=Core2, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/demo/MultipleUnits>

[env:MultipleUnits_CoreS3]
extends=CoreS3, option_release
build_flags = ${env.build_flags} ${option_release.build_flags}
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/demo/MultipleUnits>
Loading

0 comments on commit 8358fa1

Please sign in to comment.