Installation Instructions =========================== The following step-by-step guide will get you started with XMC for Arduino: Prework for SEGGER J-Link ------------------------------ In order to use Infineon's XMC microcontroller boards in Arduino you need `SEGGER J-Link `_ installed on your machine first. Please follow `this link `_ and install the *J-Link Software and Documentation Pack* for your respective operating system. .. image:: img/jlink_downloads.png :width: 700 If you are downloading J-Link for the first time, make sure to check the box **Install USB Driver for J-Link**. .. image:: img/jlink_installer_options.png :width: 650 Required Tools ^^^^^^^^^^^^^^ XMC for Arduino requires *Python 3.x* and *pyserial*. Make sure `Python `_ is installed on your machine and available in the system path. .. note:: When installing Python on Windows, ensure you check "*Add Python to PATH*" before clicking install. This allows XMC for Arduino to find the Python executable. If you forget this step, you can add Python to PATH manually later. You can check if it was successfully installed by opening your command line or terminal and typing: .. code-block:: shell python --version With `pip `_ available, install the mentioned packages from a terminal: .. code-block:: shell pip install pyserial Integration in Arduino IDE -------------------------- .. note:: We recommend to use Arduino IDE 2.0 or newer. .. image:: img/arduino_ide_preferences_menu.png :width: 600 Paste the following URL into the *Additional boards manager URLs* input field under *File > Preferences* to add Infineon's XMC microcontroller boards to the Arduino IDE: :: https://github.com/Infineon/XMC-for-Arduino/releases/download/latest-3.x/package_infineon_index.json .. image:: img/arduino_ide_preferences_menu.png :width: 600 To install the boards, navigate to *Tools > Board > Boards Manager...* and search for *XMC*. You will see options to install the board files for the microcontrollers. Click *Install* to add the boards to your Arduino IDE. .. image:: img/arduino_ide_board_manager_entry.png :width: 600 In the board list in *Tools > Board*, you will now find the supported XMC microcontroller boards. .. image:: img/arduino_ide_board_list.png :width: 600 Release Packages from Version 3.0.0 onwards ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Certain obsolete boards and non-functional libraries were removed from the board support package for the release version 2.0.0, alongwith some other major changes (see `release notes `_). Since the release of version 3.0, the release index does not contain versions before 2.0 anymore. .. image:: img/arduino_ide_release_index.png :width: 600