Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Zheng Hua <[email protected]>
  • Loading branch information
IotaHydrae committed Jan 15, 2025
1 parent 6f34f3e commit a09045a
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 33 deletions.
Binary file added assets/images/poweranalyzer_compressed.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/udd_rpi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions content/docs/env-setup/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ seo:
如果您是从github,或者gitee拉取的工程,在进行编译之前,应该先更新子模块。 切换分支时,同样需要,方式如下:
```bash
# 位于工程根目录下
git submodule update --init
git submodule update --init --recursive
```

{{< callout context="note" title="说明" icon="info-circle" >}}
我们为裸机和FreeRTOS工程添加了对 pico2 的支持,使用如下命令为其编译
```bash
# 位于工程根目录下
mkdir build-pico2 && cd build-pico2
cmake -DPICO_BOARD=pico2 ..
make -j$(nproc)
cmake -DPICO_BOARD=pico2 .. -G Ninja
ninja
```
{{< /callout >}}

Expand All @@ -45,14 +45,14 @@ factory # 工厂测试程序
ft6236.c # 触摸驱动
i2c_tools.c # i2c工具
ili9488.c # 显示驱动
include # 头文件
include/ # 头文件
LICENSE # 许可证
lv_conf.h # lvgl配置头文件
lvgl # lvgl源码
lvgl/ # lvgl源码
main.c # 程序入口
pico_sdk_import.cmake # pico-sdk前置文件
pio # pio相关驱动
porting # lvgl移植文件
pio/ # pio相关驱动
porting/ # lvgl移植文件
```

编译生成固件
Expand All @@ -61,8 +61,8 @@ cd pico_dm_qd3503728_noos

mkdir -p build
cd build
cmake ..
make -j12
cmake .. -G Ninja
ninja
```

### pico_dm_qd3503728_freertos
Expand Down Expand Up @@ -154,8 +154,8 @@ cd pico_dm_8080_template

mkdir -p build
cd build
cmake ..
make -j12
cmake .. -G Ninja
ninja
```

### MicroPython
Expand Down
68 changes: 47 additions & 21 deletions content/docs/env-setup/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ seo:
😋 我们正在开发中,包括但不限于如下工程:

- [x] [裸机](#裸机)
- [x] [EEZ Studio示例工程](#eez-studio-lvgl-示例工程)
- [x] [USB 显示屏(开发中)](#usb-display)
- [x] [EEZ Studio示例工程](#eez-studio-lvgl-示例工程)
- [x] [8080屏模板工程](#8080屏模板工程)

### 裸机
Expand All @@ -44,13 +44,48 @@ git clone https://gitee.com/embeddedboys/pico_dm_qd3503728_noos
```shell
git clone https://github.com/embeddedboys/pico_dm_qd3503728_noos
```

### USB Display

我们将在现有工程基础上(裸机或者FreeRTOS工程),添加 USB 显示屏 的支持,这将达到如下目标:

1. 在 Linux 机器上,通过USB线连接到本设备,将创建一个新的fb设备

2. 在 Windows 机器上,通过USB线连接到本设备,将识别到一个新的显示器

上述两种方式都为当前的Host机器提供了主/拓展显示器支持。

3. 在不安装驱动的情况下,通过Python脚本来提供Host发送端支持。

下面这张图片是在 Raspberry Pi 上运行的效果:

{{< figure src="images/udd_rpi.jpg" alt="" >}}

工程还在开发中,目前还不支持触摸上报,您可以到如下仓库链接查看最新开发进度:

仓库链接:[https://gitee.com/embeddedboys/pico_dm_qd3503728_udd](https://gitee.com/embeddedboys/pico_dm_qd3503728_udd)

有关编译、烧录及使用的说明,请先查看上述仓库的 README 文件。

国内用户
```bash
git clone https://gitee.com/embeddedboys/pico_dm_qd3503728_udd
```

国外用户:
```bash
git clone https://github.com/embeddedboys/pico_dm_qd3503728_udd
```

### EEZ Studio LVGL 示例工程

Desktop / Embedded GUI development & Automation
桌面/嵌入式 GUI 开发和自动化

官方介绍:[https://www.envox.eu/studio/studio-introduction/](https://www.envox.eu/studio/studio-introduction/)

#### 家庭智能中控

{{< figure src="images/qd3503728_eez_studio.jpg" alt="" >}}

仓库链接:[https://gitee.com/embeddedboys/pico_dm_qd3503728_noos_eez_studio_demo](https://gitee.com/embeddedboys/pico_dm_qd3503728_noos_eez_studio_demo)
Expand All @@ -65,35 +100,20 @@ git clone https://gitee.com/embeddedboys/pico_dm_qd3503728_noos_eez_studio_demo
git clone https://github.com/embeddedboys/pico_dm_qd3503728_noos_eez_studio_demo
```

### USB Display

工程还在开发中,您可以到如下仓库链接中查看最新开发进度。
#### 电源分析仪

仓库链接:[https://gitee.com/embeddedboys/pico_dm_qd3503728_udd](https://gitee.com/embeddedboys/pico_dm_qd3503728_udd)
{{< figure src="images/poweranalyzer_compressed.jpg" alt="" >}}

有关编译、烧录及使用的说明,请先查看上述仓库的 README 文件。

国内用户
国内用户:
```bash
git clone https://gitee.com/embeddedboys/pico_dm_qd3503728_udd
git clone https://gitee.com/embeddedboys/pico_dm_qd3503728_poweranylzer
```

国外用户:
```bash
git clone https://github.com/embeddedboys/pico_dm_qd3503728_udd
git clone https://github.com/embeddedboys/pico_dm_qd3503728_poweranylzer
```

我们将在现有工程基础上(裸机或者FreeRTOS工程),添加 USB 显示屏 的支持,这将达到如下目标:

1. 在 Linux 机器上,通过USB线连接到本设备,将创建一个新的fb设备

2. 在 Windows 机器上,通过USB线连接到本设备,将识别到一个新的显示器

上述两种方式都为当前的Host机器提供了主/拓展显示器支持。

3. 在不安装驱动的情况下,通过Python脚本来提供Host发送端支持。


### 8080屏模板工程

在开发本项目的过程中,其实我们还同时开发着其他类似项目,为了加快后续适配工作进度,我们开发了本工程,通过简单的配置就可以在多个lcd或触摸之间切换,这意味着您完全可以使用本工程在您自己的平台上开发。 😎 有关本工程的详细内容参见其readme文件。
Expand Down Expand Up @@ -636,6 +656,12 @@ Zephyr RTOS 是基于一个小型内核设计的,用于资源有限的嵌入
工程开发完成,整理中。。。
国内用户:
```bash
git clone https://gitee.com/embeddedboys/pico_dm_qd3503728_zephyr
```
国外用户:
```bash
git clone https://github.com/embeddedboys/pico_dm_qd3503728_zephyr
```
Expand Down
2 changes: 1 addition & 1 deletion content/docs/env-setup/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ seo:
{{< tab "Ubuntu" >}}

```bash {title="安装依赖"}
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ninja-build
```

{{< /tab >}}
Expand Down
5 changes: 5 additions & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@
"further-reading",
"fzf",
"h-rh-i-0",
"heading",
"lcd-相关",
"linux",
"luckfox-lyra-plus",
Expand Down Expand Up @@ -401,6 +402,7 @@
"vscode相关",
"yd-rp2040-核心板",
"zephyr",
"zhineng",
"为什么我的-pico-无法启动",
"产品参数",
"从我们的服务器下载",
Expand All @@ -417,6 +419,7 @@
"如果您觉得太麻烦了可以使用我们编译好的文件但这会覆盖您设备当前的内核及设备树操作步骤如下",
"官方版本国产版1",
"官方版本国产版2",
"家庭智能中控",
"性能优化",
"我在使用git拉取github工程时出现如下错误",
"我在编译工程时出现如下错误",
Expand All @@ -426,6 +429,7 @@
"是否开启超频",
"显示屏",
"显示驱动",
"智能中控",
"更换更高性能的flash芯片",
"本项目相关的",
"杂项",
Expand All @@ -441,6 +445,7 @@
"烧录",
"环境配置",
"电流与时钟速度关系",
"电源分析仪",
"硬件改动-飞线",
"硬件改动-飞线-1",
"示例工程",
Expand Down

0 comments on commit a09045a

Please sign in to comment.