From 6cbf5d0d6fdd21220ba627b9477949242dcb6ea7 Mon Sep 17 00:00:00 2001 From: enriquezgarc Date: Fri, 2 Feb 2024 17:12:33 +0100 Subject: [PATCH] docs/psoc6: Minor fixes in installation docs. Signed-off-by: enriquezgarc --- docs/psoc6/installation.rst | 2 +- docs/psoc6/intro.rst | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/psoc6/installation.rst b/docs/psoc6/installation.rst index 8d2b3c381b5e5..7ed60a6181369 100644 --- a/docs/psoc6/installation.rst +++ b/docs/psoc6/installation.rst @@ -23,7 +23,7 @@ You can easily download them terminal with the following command: .. code-block:: bash - curl.exe -s -L https://raw.githubusercontent.com/infineon/micropython/ports-psoc6-main/tools/psoc6/mpy-psoc6.py > mpy-psoc6.py + curl -s -L https://raw.githubusercontent.com/infineon/micropython/ports-psoc6-main/tools/psoc6/mpy-psoc6.py > mpy-psoc6.py Make sure you have a recent version on `Python3.x `_ installed and the `pip `_ package installer. Then install the following packages: diff --git a/docs/psoc6/intro.rst b/docs/psoc6/intro.rst index f9fa3d6b72c6f..215804fccfb34 100644 --- a/docs/psoc6/intro.rst +++ b/docs/psoc6/intro.rst @@ -31,6 +31,27 @@ In your computer terminal, type the following commands and follow the instructio .. tabs:: + .. group-tab:: Python + + Download the mpy-psoc6 utility script: + + .. code-block:: bash + + curl -s -L https://raw.githubusercontent.com/infineon/micropython/ports-psoc6-main/tools/psoc6/mpy-psoc6.py > mpy-psoc6.py + + Make sure you have a recent version on `Python3.x `_ installed and the `pip `_ package installer. + Then install the following packages: + + .. code-block:: bash + + pip install requests + + Finally run the script: + + .. code-block:: bash + + python mpy-psoc6.py quick-start + .. group-tab:: Linux Download the mpy-psoc6 utility script: