Skip to content

Infineon/XMC-for-Arduino

Repository files navigation

Infineon's XMC Microcontroller Boards for Arduino

This repository integrates Infineon's XMC microcontrollers into the Arduino IDE and PlatformIO IDE.

Contents

Supported Microcontroller Boards

Additional Information

Please visit also the Wiki for additional information, e.g. datasheets, pin out diagrams, etc.:

XMC-for-Arduino Wiki

Additionally, please consult the releases for information about the changes and new versions.

Installation Instructions

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 (OS).

J-Link

If you are downloading J-Link for the first time, make sure to check this box: Install USB Driver for J-Link.

J-Link-driver

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.

You can check if it was successfully installed by opening your command line or terminal and typing:

  python --version

With pip available, install the mentioned packages from a terminal:

  pip install pyserial

Integration in Arduino IDE

Please first download the Arduino IDE. This package is only tested for Arduino IDE >=1.5. We recommended to use Arduino IDE >=2.0.

Preferences

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/latest/download/package_infineon_index.json

Easier to copy (no clickable link):

https://github.com/Infineon/XMC-for-Arduino/releases/latest/download/package_infineon_index.json

Adding a Board JSON

To install the boards, please go now 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.

Infineon Board Entry

In the boards list Tools > Board, you will now find the supported XMC microcontroller boards.

Board List

Notes

  • The differences of the boards included in this repository if compared to the Arduino boards
  • Refer also to the LICENSE.md/txt file of the repositories for further information
  • The Boot Kits have limitations if compared to the official Arduino boards (consult the XMC-for-Arduino Wiki for more information)
  • XMC-for-Arduino support for 'arm-linux-gnueabihf' only until version 1.1.

Release packages from version 3.0.0 onwards

Certain obsolete boards (see wiki) 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). After version 3.0.0, the release index will not include library before version 2.0.0.

Board Manager

Known Issues

  • ⚠️ While using the pins connected to the LEDs configured as INPUT, there might be some abberation in behavior due to the presence of the series resistor of the LED, as it causes a voltage drop on the pin. In case of such an occurance, it is advised to desolder the series resistor and the LED and thereby using the pin as INPUT.

Using PlatformIO IDE

Contributing and Third Party Libraries

To contribute enhancements, fixes and the like see CONTRIBUTINGS.

Third Party or external library maintainers see Libraries.

Also see Wiki for any additional information

Additional Contributors