Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 8bb88fa commit 51a6ed9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ petalinux-config --get-hw-description ../hardware/

1. 从github下载适配petalinux版本的[u-boot](https://github.com/Xilinx/u-boot-xlnx/tree/xlnx_rebase_v2020.01)[内核](https://github.com/Xilinx/linux-xlnx/tree/xlnx_rebase_v5.4)

2. `配置u-boot:` 选择 Linux Components Selection --> u-boot --> ext-local-src --> External u-boot local source settings --> 配置u-boot的绝对路径
2. `配置u-boot:` 选择 Linux Components Selection --> u-boot --> ext-local-src --> External u-boot local source settings --> 配置u-boot的绝对路径

3. `配置内核:` 选择Linux Components Selection --> linux-kernel --> ext-local-src --> External linux-kernel local source settings --> 配置内核的绝对路径
3. `配置内核:` 选择Linux Components Selection --> linux-kernel --> ext-local-src --> External linux-kernel local source settings --> 配置内核的绝对路径

4. 配置Auto Config Settings --> 选中kernel autoconfig + u-boot autoconfig
4. 配置Auto Config Settings --> 选中kernel autoconfig + u-boot autoconfig

5. save --> exit

Expand All @@ -74,7 +74,7 @@ petalinux-config --get-hw-description ../hardware/
petalinux-config
```

出现配置界面,选择Yocto Settings --> 关闭 Enable Network sstate feeds --> Local sstate feeds settings --> 配置sstate文件中的aarch64的绝对路径 exit --> Add pre-mirror url --> 删除原先默认的网址,配置downloads_2020.1/downloads的绝对路径(注意:路径前面加 file:// + 路径)exit save exit
出现配置界面,选择Yocto Settings --> 关闭 Enable Network sstate feeds --> Local sstate feeds settings --> 配置sstate文件中的aarch64的绝对路径 exit --> Add pre-mirror url --> 删除原先默认的网址,配置downloads_2020.1/downloads的绝对路径(注意:路径前面加 file:// + 路径)exit save exit

### 设备树

Expand Down
4 changes: 2 additions & 2 deletions docs/serial-transmission-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ FIFO 中断的状态位置如图 2-3 所示。

FIFO 触发器级别由以下的寄存器控制字控制:

• uart.Rcvr_FIFO_trigger_level\[RTRIG\]
• uart.Rcvr_FIFO_trigger_level[RTRIG]

• uart.Tx_FIFO_trigger_level\[TTRIG\]
• uart.Tx_FIFO_trigger_level[TTRIG]

### UART 控制器编程流程

Expand Down

0 comments on commit 51a6ed9

Please sign in to comment.