2024-08-08 14:30:50 +09:00
|
|
|
# M5Utility
|
2024-08-08 12:43:16 +09:00
|
|
|
|
|
|
|
|
## Overview
|
2024-08-08 14:30:50 +09:00
|
|
|
This library is a collection of common functionality for other M5Libraries and products.
|
2024-08-08 12:43:16 +09:00
|
|
|
|
2024-08-08 14:30:50 +09:00
|
|
|
## UnitTest (For internal maintainers)
|
|
|
|
|
UnitTest is included, which can run on PlatformIO.
|
2024-08-08 12:43:16 +09:00
|
|
|
|
2024-08-08 23:37:48 +09:00
|
|
|
## Doxygen document
|
2024-10-16 20:14:40 +09:00
|
|
|
|
|
|
|
|
[GitHub Pages](https://m5stack.github.io/M5Utility/)
|
|
|
|
|
|
2024-08-08 23:37:48 +09:00
|
|
|
If you want to generate documents on your local machine, execute the following command
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
bash docs/doxy.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
It will output it under docs/html
|
|
|
|
|
If you want to output Git commit hashes to html, do it for the git cloned folder.
|
|
|
|
|
|
|
|
|
|
### Required
|
2026-03-25 16:51:56 +09:00
|
|
|
- [Doxygen](https://www.doxygen.nl/)
|
2024-08-08 23:37:48 +09:00
|
|
|
- [pcregrep](https://formulae.brew.sh/formula/pcre2)
|
|
|
|
|
- [Git](https://git-scm.com/) (Output commit hash to html)
|
|
|
|
|
|
2024-08-08 12:43:16 +09:00
|
|
|
|
2024-09-26 10:41:28 +09:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 概要
|
|
|
|
|
このライブラリは M5Stack 関連ライブラリのための共通ライブラリです。
|
|
|
|
|
|
|
|
|
|
## ユニットテスト(メンテナンス用)
|
|
|
|
|
googleTest によるユニットテストを内包しています。 PlatformIO で実行できます。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Doxygen ドキュメント
|
2024-10-16 20:14:40 +09:00
|
|
|
[GitHub Pages](https://m5stack.github.io/M5Utility/)
|
|
|
|
|
|
2024-09-26 10:41:28 +09:00
|
|
|
あなたのローカルマシンでドキュメントを生成したい場合は、以下のコマンドを実行してください。
|
|
|
|
|
```
|
|
|
|
|
bash docs/doxy.sh
|
|
|
|
|
```
|
|
|
|
|
docs/html の下に出力されます。
|
|
|
|
|
Git コミットのハッシュを html に出力したい場合は、 git クローンしたフォルダに対して実行してください。
|
|
|
|
|
|
|
|
|
|
### 必要な物
|
2026-03-25 16:51:56 +09:00
|
|
|
- [Doxygen](https://www.doxygen.nl/)
|
2024-09-26 10:41:28 +09:00
|
|
|
- [pcregrep](https://formulae.brew.sh/formula/pcre2)
|
|
|
|
|
- [Git](https://git-scm.com/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|