From 8a32bd43f30a2c3724ccc1efec2468500536d01b Mon Sep 17 00:00:00 2001 From: jaenrig-ifx Date: Mon, 23 Sep 2024 17:14:16 +0200 Subject: [PATCH] docs/installation-instructions.rst: Added Arduino CLI installation instructions. Signed-off-by: jaenrig-ifx --- docs/installation-instructions.rst | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/installation-instructions.rst b/docs/installation-instructions.rst index 6a125dd..5326475 100644 --- a/docs/installation-instructions.rst +++ b/docs/installation-instructions.rst @@ -19,7 +19,7 @@ Paste the following URL into the *Additional boards manager URLs* input field un :: - https://github.com/Infineon/arduino-core-psoc/releases/latest/download/package_infineon_index.json + https://github.com/Infineon/arduino-core-psoc/releases/latest/download/package_psoc_index.json .. image:: img/install_preferences_json.png :width: 600 @@ -38,9 +38,24 @@ In the boards list *Tools > Board*, you will now find the supported PSoC™ micr Installation in Arduino CLI ---------------------------- -To install the PSoC™ microcontroller boards using the Arduino CLI, first make sure you have the latest version of the Arduino CLI installed. +To install the PSoC™ microcontroller boards using the Arduino CLI, first make sure you have the latest version of the `Arduino CLI `_ installed. + Then, run the following command: .. code-block:: bash - $ arduino-cli version \ No newline at end of file + $ arduino-cli version + +Now you can add the Infineon PSoC™ microcontroller boards package to the Arduino CLI: + +.. code-block:: bash + + $ arduino-cli core install infineon:psoc --additional-urls https://github.com/Infineon/arduino-core-psoc/releases/latest/download/package_psoc_index.json + +Finally, check if the package has been properly installed by running: + +.. code-block:: bash + + $ arduino-cli core list + +And... you are ready to develop |:construction_worker:|! \ No newline at end of file