
Adding Support for the FreeSoC2 to the Arduino IDE
Important:
please make sure you have Arduino.cc IDE version 1.6.4 or later before attempting to use the
FreeSoC2 within the IDE!
Currently, the only way to add the FreeSoC2 support to the Arduino IDE is to download the files directly and
manually install them. Instructions on how to do so are below. The first step is to use the Board Manager to add
support for the ARM processor core.
Adding ARM processor support
Unlike “true” Arduino boards like the Uno or Leonardo, the PSoC5LP uses an ARM Cortex-M3 processor core.
Late model boards, such as the Due and the Zero, also use ARM processors, so the Arduino team have added the
ARM-GCC toolset to the officially supported toolchain. That’s good for us, because it means we don’t have to do
much work (at least, on the toolchain) to add support for the PSoC.
All you need to do is open the Arduino IDE, and launch the board manager (see image below).
One of the by-default available options is “Arduino SAM Boards”; these are boards using the ARM Cortex
processor (specifically, the Atmega SAM parts). Simply click in that box to highlight it, and click “Install”.
Once the install is complete, you’ll see a new subgroup in the boards menu for the Arduino ARM boards. Now, it’s
time to add support for the PSoC.