Skip to content

Commit

Permalink
fix: fix code style checked by pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: Nascs Fang <[email protected]>
  • Loading branch information
nascs committed Nov 29, 2024
1 parent ecd96ca commit 65f43c6
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 20 deletions.
62 changes: 52 additions & 10 deletions docs/common/dev/_pico-sdk-windows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,49 @@

- [Git for Windows](https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/Git-2.47.1-64-bit.exe)

该工具主要方便用户使用 git 命令, 以及为用户提供一些 Linux 命令, 我们可以在该工具下进行编译
该工具主要方便用户使用 git 命令, 以及为用户提供一些 Linux 命令, 我们可以在该工具下进行编译

<img src="/img/x/git_for_windows.webp" style= {{ width: "80%"}} alt="git for windows" />
{" "}

<img
src="/img/x/git_for_windows.webp"
style={{ width: "80%" }}
alt="git for windows"
/>

- [Vscode for Windows](https://code.visualstudio.com/download)

<img src="/img/x/vscode_install.webp" style= {{ width: "80%"}} alt="vscode for windows" />
{" "}

<img
src="/img/x/vscode_install.webp"
style={{ width: "80%" }}
alt="vscode for windows"
/>

- [CMAKE](https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1-windows-x86_64.msi)

<img src="/img/x/vscode_install.webp" style= {{ width: "80%"}} alt="cmake for windows" />
{" "}

<img
src="/img/x/vscode_install.webp"
style={{ width: "80%" }}
alt="cmake for windows"
/>

- [Pico Setup Windows](https://github.com/raspberrypi/pico-setup-windows/releases/latest/download/pico-setup-windows-x64-standalone.exe)

<img src="/img/x/pico-sdk_install.webp" style= {{ width: "80%"}} alt="cmake for windows" />
{" "}

<img
src="/img/x/pico-sdk_install.webp"
style={{ width: "80%" }}
alt="cmake for windows"
/>

- [Ninja](https://github.com/ninja-build/ninja/releases)

下载后解压即可,
下载后解压即可,

- [Python3 for Windows](https://www.python.org/downloads/windows/)

Expand All @@ -32,15 +56,33 @@

- 添加系统变量或者用户变量

- 添加变量 PICO_INSTALL_PATH 和 PICO-SDK_PATH
- 添加变量 PICO_INSTALL_PATH 和 PICO-SDK_PATH

<img src="/img/x/pico_install_path.webp" style= {{ width: "80%"}} alt="pico install path" />
{" "}

<img src="/img/x/pico-sdk_path.webp" style= {{ width: "80%"}} alt="pico sdk path" />
<img
src="/img/x/pico_install_path.webp"
style={{ width: "80%" }}
alt="pico install path"
/>

{" "}

<img
src="/img/x/pico-sdk_path.webp"
style={{ width: "80%" }}
alt="pico sdk path"
/>

- 添加 PATH

<img src="/img/x/pico_var_env.webp" style= {{ width: "80%"}} alt="pico path env" />
{" "}

<img
src="/img/x/pico_var_env.webp"
style={{ width: "80%" }}
alt="pico path env"
/>

### 构建编译

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,49 @@

- [Git for Windows](https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/Git-2.47.1-64-bit.exe)

This tool facilitates the use of git commands and provides you with some Linux commands that you can use to build the
This tool facilitates the use of git commands and provides you with some Linux commands that you can use to build the

<img src="/img/x/git_for_windows.webp" style= {{ width: "80%"}} alt="git for windows" />
{" "}

<img
src="/img/x/git_for_windows.webp"
style={{ width: "80%" }}
alt="git for windows"
/>

- [Vscode for Windows](https://code.visualstudio.com/download)

<img src="/img/x/vscode_install.webp" style= {{ width: "80%"}} alt="vscode for windows" />
{" "}

<img
src="/img/x/vscode_install.webp"
style={{ width: "80%" }}
alt="vscode for windows"
/>

- [CMAKE](https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1-windows-x86_64.msi)

<img src="/img/x/vscode_install.webp" style= {{ width: "80%"}} alt="cmake for windows" />
{" "}

<img
src="/img/x/vscode_install.webp"
style={{ width: "80%" }}
alt="cmake for windows"
/>

- [Pico Setup Windows](https://github.com/raspberrypi/pico-setup-windows/releases/latest/download/pico-setup-windows-x64-standalone.exe)

<img src="/img/x/pico-sdk_install.webp" style= {{ width: "80%"}} alt="cmake for windows" />
{" "}

<img
src="/img/x/pico-sdk_install.webp"
style={{ width: "80%" }}
alt="cmake for windows"
/>

- [Ninja](https://github.com/ninja-build/ninja/releases)

Download and unzip it.
Download and unzip it.

- [Python3 for Windows](https://www.python.org/downloads/windows/)

Expand All @@ -32,15 +56,33 @@

- Add system or user variables

- Add variables PICO_INSTALL_PATH and PICO-SDK_PATH
- Add variables PICO_INSTALL_PATH and PICO-SDK_PATH

<img src="/img/x/pico_install_path.webp" style= {{ width: "80%"}} alt="pico install path" />
{" "}

<img src="/img/x/pico-sdk_path.webp" style= {{ width: "80%"}} alt="pico sdk path" />
<img
src="/img/x/pico_install_path.webp"
style={{ width: "80%" }}
alt="pico install path"
/>

{" "}

<img
src="/img/x/pico-sdk_path.webp"
style={{ width: "80%" }}
alt="pico sdk path"
/>

- Ads PATH

<img src="/img/x/pico_var_env.webp" style= {{ width: "80%"}} alt="pico path env" />
{" "}

<img
src="/img/x/pico_var_env.webp"
style={{ width: "80%" }}
alt="pico path env"
/>

### Build

Expand Down

0 comments on commit 65f43c6

Please sign in to comment.