Use appropriate syntax highlighting for Windows commands

- Changed Windows Command Prompt blocks from bash to bat for proper highlighting
- Changed PowerShell blocks from bash to powershell for proper highlighting
- Improves documentation readability and accuracy

Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-28 14:19:52 +00:00
parent 83542ce912
commit 1bb1efa820

View File

@ -171,7 +171,7 @@ Install Pico SDK
**Windows:**
.. code-block:: bash
.. code-block:: bat
C:\> cd %USERPROFILE%
C:\Users\YourName> git clone https://github.com/raspberrypi/pico-sdk.git
@ -191,13 +191,13 @@ Before running cmake, export the SDK path:
**Windows (Command Prompt):**
.. code-block:: bash
.. code-block:: bat
C:\> set PICO_SDK_PATH=%USERPROFILE%\pico-sdk
**Windows (PowerShell):**
.. code-block:: bash
.. code-block:: powershell
PS C:\> $env:PICO_SDK_PATH = "$env:USERPROFILE\pico-sdk"
@ -233,7 +233,7 @@ Install ESP-IDF
**Windows:**
.. code-block:: bash
.. code-block:: bat
C:\> cd %USERPROFILE%
C:\Users\YourName> git clone --recursive https://github.com/espressif/esp-idf.git
@ -253,13 +253,13 @@ Before running cmake, source the ESP-IDF export script:
**Windows (Command Prompt):**
.. code-block:: bash
.. code-block:: bat
C:\> %USERPROFILE%\esp-idf\export.bat
**Windows (PowerShell):**
.. code-block:: bash
.. code-block:: powershell
PS C:\> . $env:USERPROFILE\esp-idf\export.ps1