Merge branch 'fix/matter-switch-CI' into 'master'
Added CI related code See merge request ae_group/esp-box!78
This commit is contained in:
@@ -46,6 +46,47 @@
|
||||
--collect-size-info size_info.txt
|
||||
--default-build-targets $IDF_TARGET
|
||||
|
||||
.build_matter_examples: &build_matter_examples
|
||||
<<: *build_template
|
||||
variables:
|
||||
IDF_CI_BUILD: "1"
|
||||
script:
|
||||
- pip install --upgrade idf-component-manager
|
||||
- pip install idf_build_apps
|
||||
# setup esp_matter
|
||||
- git clone --depth 1 https://github.com/espressif/esp-matter.git
|
||||
- cd esp-matter
|
||||
- git submodule update --init --depth 1
|
||||
- cd ./connectedhomeip/connectedhomeip
|
||||
- ./scripts/checkout_submodules.py --platform linux esp32 --shallow
|
||||
- cd ../..
|
||||
# `|| true` below ignores errors in the process, it's okay, since we are
|
||||
# only interested pigweed setup which goes through as expected
|
||||
- . $IDF_PATH/export.sh
|
||||
- ./install.sh || true
|
||||
- . ./export.sh
|
||||
- cd ..
|
||||
- python -m idf_build_apps build -vv
|
||||
-p $EXAMPLE_DIR
|
||||
-t all
|
||||
--config "sdkconfig.ci.*="
|
||||
--build-dir build_@t_@w
|
||||
--build-log build_log.txt
|
||||
--size-file size.json
|
||||
--check-warnings
|
||||
--ignore-warning-str "$WARNING_STR"
|
||||
--collect-size-info size_info.txt
|
||||
--default-build-targets $IDF_TARGET
|
||||
|
||||
build_example_matter_switch_v5.1:
|
||||
extends:
|
||||
- .build_matter_examples
|
||||
- .rules:build:example_matter_switch
|
||||
image: espressif/idf:release-v5.1
|
||||
variables:
|
||||
IDF_TARGET: esp32s3
|
||||
EXAMPLE_DIR: examples/matter_switch
|
||||
|
||||
build_example_chatgpt_demo_v5.0:
|
||||
extends:
|
||||
- .build_examples_template
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
.patterns-example_chatgpt_demo: &patterns-example_chatgpt_demo
|
||||
- "examples/chatgpt_demo/**/*"
|
||||
|
||||
.patterns-example_matter_switch: &patterns-example_matter_switch
|
||||
- "examples/matter_switch/**/*"
|
||||
|
||||
.patterns-example_factory_demo: &patterns-example_factory_demo
|
||||
- "examples/factory_demo/**/*"
|
||||
|
||||
@@ -53,6 +56,15 @@
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-example_chatgpt_demo
|
||||
|
||||
.rules:build:example_matter_switch:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-components_bsp
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-example_matter_switch
|
||||
|
||||
.rules:build:example_factory_demo:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
</p>
|
||||
|
||||
* [中文版本](README_cn.md)
|
||||
|
||||
* [Promotional Video](https://www.youtube.com/watch?v=KGVOi1Mrjb0)
|
||||
# ESP-BOX AIoT Development Framework
|
||||
|
||||
<p align="left">
|
||||
@@ -34,14 +34,14 @@ ESP-BOX provides a platform for developing applications in various domains, incl
|
||||
| :-----: | :---------------------: |:---------------------: |
|
||||
| [ESP32-S3-BOX](docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md) | <img src="docs/_static/esp32_s3_box.png" width="200px" /> |End of Life <br> [User Guide](https://github.com/espressif/esp-box/blob/v0.5.0/docs/getting_started.md) |
|
||||
| [ESP32-S3-BOX-Lite](docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md) | <img src="docs/_static/esp32_s3_box_lite.png" width="200px" /> |[Active](https://www.aliexpress.com/item/1005004441701974.html?spm=a2g0o.store_pc_groupList.8148356.15.378130cf2Qwt87&pdp_npi=3%40dis%21HKD%21HKD273.50%21HKD273.50%21%21%21%21%21%40210318cb16926755466344763e3593%2112000029194032303%21sh%21HK%213721963538) <br> [User Guide](https://github.com/espressif/esp-box/blob/v0.5.0/docs/getting_started.md)|
|
||||
| [ESP32-S3-BOX-3](docs/hardware_overview/esp32_s3_box_3/hardware_overview_for_box_3.md) | <img src="docs/_static/esp32_s3_box_3.png" width="200px" /> |[Active](https://www.aliexpress.com/item/1005005920207976.html) <br> [User Guide](./docs/getting_started.md)|
|
||||
| [ESP32-S3-BOX-3 (beta)](docs/hardware_overview/esp32_s3_box_3/hardware_overview_for_box_3.md) | <img src="docs/_static/esp32_s3_box_3.png" width="200px" /> |[Active](https://www.aliexpress.com/item/1005005920207976.html) <br> [User Guide](./docs/getting_started.md)|
|
||||
|
||||
|
||||
## Versions
|
||||
|
||||
| ESP-BOX | Dependent ESP-IDF | Branch Note | Support State |
|
||||
| :--------------: | :---------------: | :----------------------------------------------------: | -------------- |
|
||||
| master | >= release/v5.1<br/>commit id: 22cfbf30c3 | Latest developing firmware <br/>esp-sr components version: v1.4.1 | Partial support for ESP32-S3-BOX, ESP32-S3-BOX-Lite, and ESP32-S3-BOX-3 <br> Refer to the Examples **README** for more details. |
|
||||
| master | >= release/v5.1<br/>commit id: 22cfbf30c3 | Latest developing firmware <br/>esp-sr components version: v1.4.1 | Partial support for ESP32-S3-BOX, ESP32-S3-BOX-Lite, and ESP32-S3-BOX-3 <br>**Use menuconfig to select board**<br> Refer to the Examples **README** for more details. |
|
||||
| Tag 0.5.0 | release/v5.1<br>commit id: 22cfbf30c3 | esp-sr components version: v1.3.4 | Compatible with ESP32-S3-BOX and ESP32-S3-BOX-Lite <br/>Use menuconfig to select board |
|
||||
| Tag 0.3.0 | release/v4.4<br>commit id: 2bdea81b2a | esp-sr version: dev/v2.0<br>commit id: c873a35 | Compatible with ESP32-S3-BOX and ESP32-S3-BOX-Lite |
|
||||
| Tag 0.2.1 | release/v4.4 with [patch](https://github.com/espressif/esp-box/tree/v0.2.1/idf_patch) | esp-sr version: close v1.0<br/>commit id: 3ce34fe | Support ESP32-S3-BOX only |
|
||||
@@ -83,18 +83,23 @@ ESP-BOX provides a platform for developing applications in various domains, incl
|
||||
|
||||
## Developer Guide
|
||||
|
||||
ESP-BOX integrates components commonly used in AIoT development that you can leverage to build your own applications. Read more development guide [here](./docs/development_guide.md) (Updates in Progress).
|
||||
ESP-BOX integrates components commonly used in AIoT development that you can leverage to build your own applications.
|
||||
|
||||
### Quick Start
|
||||
|
||||
* **Step 1**. ESP-IDF (Espressif IoT Development Framework) is required to build the application. If this is your first time using the ESP-IDF, please refer to [ESP-IDF development guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/index.html) to understand the open-source drivers and components provided by Espressif.
|
||||
* **Step 2**. Next, setting up development environment. Please refer to [ESP-IDF(release/v5.1) Installation Step by Step](https://docs.espressif.com/projects/esp-idf/en/release-v5.1/esp32s3/get-started/index.html#ide).
|
||||
* **Step 2**. Next, setting up development environment. Please refer to [ESP-IDF (release/v5.1) Installation Step by Step](https://docs.espressif.com/projects/esp-idf/en/release-v5.1/esp32s3/get-started/index.html#ide).
|
||||
* **Step 3**. Run command `git clone --recursive https://github.com/espressif/esp-box.git` to download the code of this project and then switch the ESP-IDF version to [specified version](#versions);
|
||||
* **Step 4**. Take a small step, you can [build and flash a simple example](./examples/image_display).
|
||||
* **Step 5**. Moving further, please read [ESP-BOX technical architecture](./docs/technical_architecture.md) to understand the technical details.
|
||||
* **Step 6**. Going deeper, please read [ESP Speech Recognition Application Guide](https://github.com/espressif/esp-sr), [ESP RainMaker Programming Guide](https://docs.espressif.com/projects/esp-rainmaker/en/latest/), [LVGL GUI Quick overview](https://docs.lvgl.io/8.3/).
|
||||
* **Step 7**. For extended function, please read [Pmod™ compatible headers](./docs/hardware_overview) and [ESP-IDF API reference](https://docs.espressif.com/projects/esp-idf/en/release-v5.1/esp32s3/api-reference/index.html), to develop drivers for more extended devices.
|
||||
|
||||
### Cloud Quick Start
|
||||
The ESP BOX APP is built based on the commercial mobile APP architecture, Nova Home, which provides fancy UI and better user experience but has limited openness. To gain access to it, customers are required to contact us commercially via email at sales@espressif.com.
|
||||
For developer, we offer [ESP RainMaker](https://rainmaker.espressif.com/) solution, which includes publicly available development document and API guide. Below is the pathway to access them:
|
||||
* [ESP RainMaker Get Started](https://rainmaker.espressif.com/docs/get-started.html)
|
||||
* [ESP RainMaker Programming Guide](https://docs.espressif.com/projects/esp-rainmaker/en/latest/)
|
||||
* [RainMaker App APIs Definitions](https://swaggerapis.rainmaker.espressif.com)
|
||||
## Contact Us
|
||||
|
||||
* If you have any technical issues, please submit issue tickets at [GitHub Issues](https://github.com/espressif/esp-box/issues) or forum [esp32.com](https://esp32.com/) for help.
|
||||
|
||||
+13
-6
@@ -34,15 +34,14 @@ ESP-BOX 为各个领域的应用提供了开发资源,包括离线语音助手
|
||||
| :-----: | :---------------------: |:---------------------: |
|
||||
| [ESP32-S3-BOX](docs/hardware_overview/esp32_s3_box/hardware_overview_for_box_cn.md) | <img src="docs/_static/esp32_s3_box.png" width="200px" /> |寿命终止 <br> [用户指南](https://github.com/espressif/esp-box/blob/v0.5.0/docs/getting_started_cn.md) |
|
||||
| [ESP32-S3-BOX-Lite](docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite_cn.md) | <img src="docs/_static/esp32_s3_box_lite.png" width="200px" /> |[在售](https://item.taobao.com/item.htm?spm=a312a.7700824.w4002-8715811646.9.4048605fNqggSF&id=658634202331) <br> [用户指南](https://github.com/espressif/esp-box/blob/v0.5.0/docs/getting_started_cn.md)|
|
||||
| [ESP32-S3-BOX-3](docs/hardware_overview/esp32_s3_box_3/hardware_overview_for_box_3_cn.md) | <img src="docs/_static/esp32_s3_box_3.png" width="200px" /> |[在售](https://item.taobao.com/item.htm?ft=t&id=732842971319) <br> [用户指南](./docs/getting_started_cn.md)|
|
||||
| [ESP32-S3-BOX-3 (beta)](docs/hardware_overview/esp32_s3_box_3/hardware_overview_for_box_3_cn.md) | <img src="docs/_static/esp32_s3_box_3.png" width="200px" /> |[在售](https://item.taobao.com/item.htm?ft=t&id=732842971319) <br> [用户指南](./docs/getting_started_cn.md)|
|
||||
|
||||
|
||||
## 版本信息
|
||||
|
||||
|
||||
| ESP-BOX | 依赖的 ESP-IDF | 分支信息 | 支持状态 |
|
||||
| :-------: | :----------------------------------------------------------: | :----------------------------------------------------------: | ------------------------------------------------------- |
|
||||
| master | >= release/v5.1<br/>commit id: 22cfbf30c3 | Latest developing firmware <br/>esp-sr components version: v1.4.1 | 部分支持 ESP32-S3-BOX,ESP32-S3-BOX-Lite 和 ESP32-S3-BOX-3<br/>详见 Examples **README** |
|
||||
| master | >= release/v5.1<br/>commit id: 22cfbf30c3 | Latest developing firmware <br/>esp-sr components version: v1.4.1 | 部分支持 ESP32-S3-BOX,ESP32-S3-BOX-Lite 和 ESP32-S3-BOX-3<br/>**使用 menuconfig 选择开发板**<br/>详见 Examples **README** |
|
||||
| Tag 0.5.0 | release/v5.1<br/>commit id: 22cfbf30c3 | esp-sr components version: v1.3.4 | 兼容 ESP32-S3-BOX 和 ESP32-S3-BOX-Lite<br/>使用 menuconfig 选择开发板 |
|
||||
| Tag 0.3.0 | release/v4.4<br/>commit id: 22cfbf30c3 | esp-sr version: dev/v2.0<br/>commit id: c873a35 | 兼容 ESP32-S3-BOX 和 ESP32-S3-BOX-Lite |
|
||||
| Tag 0.2.1 | release/v4.4 with [patch](https://github.com/espressif/esp-box/tree/v0.2.1/idf_patch) | esp-sr version: close v1.0<br/>commit id: 3ce34fe | 仅支持 ESP32-S3-BOX |
|
||||
@@ -59,7 +58,6 @@ ESP-BOX 为各个领域的应用提供了开发资源,包括离线语音助手
|
||||
* 可视化拖放式 GUI 开发:LVGL SquareLine Studio、Embedded Wizard 等
|
||||
* 丰富的开发框架:ESP-IDF、Arduino、PlatformIO、Circuit Python 等
|
||||
|
||||
|
||||
## 开源内容
|
||||
|
||||
* [原理图与 PCB 源文件](./hardware)
|
||||
@@ -83,7 +81,7 @@ ESP-BOX 为各个领域的应用提供了开发资源,包括离线语音助手
|
||||
|
||||
## 开发指引
|
||||
|
||||
ESP-BOX 调用乐鑫包管理器 ESP Registry 中常用的组件,您可以利用这些组件构建自己的应用。点击了解更多[开发指南](./docs/development_guide_cn.md)(持续更新中)。
|
||||
ESP-BOX 调用乐鑫包管理器 ESP Registry 中常用的组件,您可以利用这些组件构建自己的应用。
|
||||
|
||||
### 快速开始
|
||||
|
||||
@@ -94,13 +92,22 @@ ESP-BOX 调用乐鑫包管理器 ESP Registry 中常用的组件,您可以利
|
||||
* **Step 5**. 更进一步,您可以阅读 [ESP-BOX 技术架构说明](./docs/technical_architecture_cn.md),了解更多技术细节;
|
||||
* **Step 6**. 深入开发,您可以阅读 [ESP 语音识别应用开发指南](https://github.com/espressif/esp-sr),[ESP RainMaker 编程指南](https://docs.espressif.com/projects/esp-rainmaker/en/latest/),[LVGL UI 界面开发快速总览](https://docs.lvgl.io/8.3/);
|
||||
* **Step 7**. 扩展功能,您可以阅读 [开发板 Pmod™ 兼容接口介绍](./docs/hardware_overview) 和 [ESP-IDF API 参考手册](https://docs.espressif.com/projects/esp-idf/en/release-v5.1/esp32s3/api-reference/index.html),为更多扩展设备开发驱动。
|
||||
ESP BOX APP基于商业软件架构Nova Home构建,提供了精美的用户界面和更好的用户体验,但开放性有限,客户需要通过电子邮件sales@espressif.com与我们联系以获取访问权限。
|
||||
|
||||
### 云连接开发指南
|
||||
|
||||
ESP BOX APP 基于商业版 Nova Home 应用 APP 构建,拥有精美的用户界面和更好的用户体验,但由于 Nova Home App 有限开放,客户如需项目资源,可通过 sales@espressif.com 邮件与我们联系。
|
||||
对于个人开发者,我们提供 [ESP RainMaker](https://rainmaker.espressif.com/zh-hans/) 解决方案,其中包括公开可用的开发文档和 API 指南。以下是开发资源访问路径:
|
||||
|
||||
- [ESP RainMaker 快速入门](https://rainmaker.espressif.com/docs/get-started.html)
|
||||
- [RainMaker App API 定义](https://swaggerapis.rainmaker.espressif.com)
|
||||
- [ESP RainMaker 编程指南](https://docs.espressif.com/projects/esp-rainmaker/en/latest/index.html#)
|
||||
|
||||
## 联系我们
|
||||
|
||||
* 如果有任何开发和使用问题,您可添加 [GitHub Issues](https://github.com/espressif/esp-box/issues) 或到 [esp32.com](https://esp32.com/) 论坛寻求帮助;
|
||||
* 如果你对 ESP-BOX 项目感兴趣,欢迎到论坛 [ESP-BOX 版块](https://www.esp32.com/viewforum.php?f=43)交流想法。
|
||||
|
||||
|
||||
## 贡献示例
|
||||
|
||||
我们欢迎任何软件或硬件相关的开源贡献,如果您有任何要与我们分享的示例,请参考[贡献指南](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/contribute/index.html)后提交 [Pull Requests](https://github.com/espressif/esp-box/pulls) 贡献代码。
|
||||
|
||||
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -51,9 +51,8 @@ cd examples/chatgpt_demo/factory_nvs
|
||||
|
||||
**3. Hardware Selection**
|
||||
|
||||
To select the appropriate hardware ([ESP32-S3-BOX](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md) or [ESP32-S3-BOX-Lite](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md)) and access the HMI Board Config, use the following command.
|
||||
To select the appropriate hardware ([ESP32-S3-BOX](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md) or [ESP32-S3-BOX-Lite](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md)) and access the **HMI Board Cofig**, use the following command.
|
||||
|
||||
Select the proper hardware by using this command and look for **HMI Board Cofig**
|
||||
|
||||
```bash
|
||||
idf.py menuconfig
|
||||
@@ -75,7 +74,7 @@ cd examples/chatgpt_demo/
|
||||
```
|
||||
**6. Hardware Selection**
|
||||
|
||||
To select the appropriate hardware ([ESP32-S3-BOX](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md) or [ESP32-S3-BOX-Lite](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md)) and access the HMI Board Config, use the following command.
|
||||
To select the appropriate hardware ([ESP32-S3-BOX](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md) or [ESP32-S3-BOX-Lite](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md)) and access the **HMI Board Cofig**, use the following command.
|
||||
|
||||
```bash
|
||||
idf.py menuconfig
|
||||
@@ -96,19 +95,21 @@ python -m esptool -p /dev/ttyACM0 --chip esp32s3 -b 460800 --before default_rese
|
||||
|
||||
```
|
||||
|
||||
## Known compilation errors
|
||||
When encountering compilation errors related to the "espressif__esp-sr" component, a common solution is to remove the ".component_hash" file located at "managed_components/espressif__esp-sr" and proceed with the rebuild. This step helps resolve the issue and allows the compilation process to continue smoothly.
|
||||
## Known errors
|
||||
1. When encountering compilation errors related to the "espressif__esp-sr" component, a common solution is to remove the ".component_hash" file located at "managed_components/espressif__esp-sr" and proceed with the rebuild. This step helps resolve the issue and allows the compilation process to continue smoothly.
|
||||
2. If you encounter an error related to **API Key is not valid**, please verify that you have entered your key correctly. Additionally, ensure that you have a sufficient number of valid tokens available to access the OpenAI server. You can login [OpenAI website](https://openai.com/) to confirm your token [Usage status](https://platform.openai.com/account/usage).
|
||||
|
||||
|
||||
## **Resources**
|
||||
Follow the [blog posts](https://blog.espressif.com/) for brief description about the code.
|
||||
Follow the [blog posts](https://blog.espressif.com/), [demos and tutorials](https://www.youtube.com/@EspressifSystems) for more updates.
|
||||
|
||||
1. [Unleashing the Power of OpenAI and ESP-BOX: A Guide to Fusing ChatGPT with Espressif SOCs](https://blog.espressif.com/unleashing-the-power-of-openai-and-esp-box-a-guide-to-fusing-chatgpt-with-espressif-socs-fba0b2d2c4f2)
|
||||
2. [OpenAI Component | Accelerating the integration of OpenAI APIs in projects](https://blog.espressif.com/openai-component-accelerating-the-integration-of-openai-apis-in-projects-e5fa87998126)
|
||||
1. BLOG: [Unleashing the Power of OpenAI and ESP-BOX: A Guide to Fusing ChatGPT with Espressif SOCs](https://blog.espressif.com/unleashing-the-power-of-openai-and-esp-box-a-guide-to-fusing-chatgpt-with-espressif-socs-fba0b2d2c4f2)
|
||||
2. BLOG: [OpenAI Component | Accelerating the integration of OpenAI APIs in projects](https://blog.espressif.com/openai-component-accelerating-the-integration-of-openai-apis-in-projects-e5fa87998126)
|
||||
3. Tutorial: [ESP Tutorial: Unleashing the Power of ESP32 S3 BOX 3 with OpenAI](https://www.youtube.com/watch?v=Y97vdw7y3S4&t=2s)
|
||||
|
||||
### **Note**:
|
||||
Please note that,
|
||||
1. You require an **OpenAI API key** to proceed with the demo.
|
||||
1. To proceed with the demo, you need an **OpenAI API key**, and you must possess valid tokens to access the OpenAI server.
|
||||
2. To provide the WIFI credentials and the OpenAI secret key, Please follow the on display prompts to proceed.
|
||||
3. Additionally, as a result of **OpenAI's restrictions**, this particular example cannot be supported within Mainland China.
|
||||
4. ChatGPT is a large language model that is unable to distinguish between Chinese Jian ti (简体) and Fan ti (繁體) characters. Due to the constraints of LVGL (Light and Versatile Graphics Library), this project currently only supports Jian Ti (simplified Chinese characters).
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
| ESP32-S3-BOX-Lite | YES |
|
||||
| ESP32-S3-BOX-3 | YES |
|
||||
|
||||
Display PNG image with LVGL.
|
||||
This example uses LVGL to display a list of PNG images. You can select a picture you like to be displayed.
|
||||
|
||||
## How to use example
|
||||
|
||||
@@ -111,4 +111,3 @@ I (1749) bsp_tp: Detected touch panel at 0x24. Vendor : Parade Tech
|
||||
I (1789) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Hello World Example
|
||||
# LVGL Demos Example
|
||||
|
||||
| Board | Support Status |
|
||||
| ----------------- | -------------- |
|
||||
@@ -6,7 +6,7 @@
|
||||
| ESP32-S3-BOX-Lite | NO |
|
||||
| ESP32-S3-BOX-3 | YES |
|
||||
|
||||
LVGL official demos.
|
||||
An example used to run LVGL's demos. LVGL's internal demos include music player, widgets, stress and benchmark.
|
||||
|
||||
## How to use example
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@ void app_main(void)
|
||||
* @note Only enable one demo every time.
|
||||
*
|
||||
*/
|
||||
bsp_display_lock(0);
|
||||
|
||||
#if LV_USE_DEMO_WIDGETS
|
||||
lv_demo_widgets(); /* A widgets example. This is what you get out of the box */
|
||||
#endif
|
||||
@@ -43,4 +45,6 @@ void app_main(void)
|
||||
#if LV_USE_DEMO_MUSIC
|
||||
lv_demo_music(); /* A modern, smartphone-like music player demo. */
|
||||
#endif
|
||||
}
|
||||
|
||||
bsp_display_unlock();
|
||||
}
|
||||
+37
-1
@@ -6,14 +6,20 @@ supported_apps = [
|
||||
"ESP-BOX_Demo_CN_V0_5_0",
|
||||
"ESP-BOX-Lite_Demo_EN_V0_5_0",
|
||||
"ESP-BOX-Lite_Demo_CN_V0_5_0",
|
||||
"ESP-BOX-3_Demo_V1.1.1",
|
||||
|
||||
"ESP-BOX_ChatGPT_Demo_V1_0",
|
||||
"ESP-BOX-Lite_ChatGPT_Demo_V1_0",
|
||||
"ESP-BOX-3_ChatGPT_Demo_V1_0",
|
||||
|
||||
"ESP-BOX_USB_Headset_V0_0_1",
|
||||
|
||||
"ESP-BOX_Demo_EN_V0_3_0",
|
||||
"ESP-BOX_Demo_CN_V0_3_0"
|
||||
|
||||
"ESP-BOX_MATTER_SWITCH_Demo_V1_0",
|
||||
"ESP-BOX-Lite_MATTER_SWITCH_Demo_V1_0",
|
||||
"ESP-BOX-3_MATTER_SWITCH_Demo_V1_0",
|
||||
]
|
||||
|
||||
[ESP-BOX_Demo_EN_V0_3_0]
|
||||
@@ -46,6 +52,12 @@ image.esp32-s3 = "ESP-BOX_Lite_ChatGPT_Demo_V1.0.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
[ESP-BOX-3_ChatGPT_Demo_V1_0]
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX-3_ChatGPT_Demo_V1.0.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
[ESP-BOX_Demo_CN_V0_5_0]
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX_Demo_CN_V0.5.0.bin"
|
||||
@@ -68,4 +80,28 @@ ios_app_url = ""
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX-Lite_Demo_EN_V0.5.0.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
[ESP-BOX-3_Demo_V1.1.1]
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX-3_Demo_V1.1.1.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
[ESP-BOX_MATTER_SWITCH_Demo_V1_0]
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX_MATTER_SWITCH_Demo_V1.0.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
[ESP-BOX-Lite_MATTER_SWITCH_Demo_V1_0]
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX_Lite_MATTER_SWITCH_Demo_V1.0.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
[ESP-BOX-3_MATTER_SWITCH_Demo_V1_0]
|
||||
chipsets = ["ESP32-S3"]
|
||||
image.esp32-s3 = "ESP-BOX-3_MATTER_SWITCH_Demo_V1.0.bin"
|
||||
android_app_url = ""
|
||||
ios_app_url = ""
|
||||
|
||||
Reference in New Issue
Block a user