C++ & Arduino

There are two ways to use C++ with DUELink, Standalone or Tethered.
Standalone
We recommend using Arduino, which is C++ at its core, but presents an easier setup.
You can also use any other C++ compiler with an STM32C071 microcontroller support, including the free STM32CubeIDE. Another option is ARM Keil MDK, which is what we use internally. This is a paid professional IDE but ST Micro offers a free licensed for any STM32 Cortex-M0 micro.
These options use low-level versatile libraries. They are powerful but not user friendly! Arduino is a user-friendly alternative, and we provide many samples on individual product pages.
Any DFU update tool can be used to load your compiled program onto a DUELink module. We recommend the STM32CubeProgrammer. This is not necessary when using Arduino as DFU upload is built into the Arduino IDE.
For advanced users: 99.9% of modules include SWD pins for connecting debuggers, such as ST-Link. SWCLK is found on the through hole "boot pads" or LDR button. SWDIO is found on a tiny SMT pad. This is a non-supported feature.
Tethered
With this option, you can can tether a device, such as PC & Laptop or Phone & Tablets to DUELink modules, which you can be used to run the C++ program to command DUELink modules through USB or UART Serial interfaces.
We do not provide a library for C++ and instead support other high-level languages, such as C++ cousin .NET C#!
Note that the Arduino library is C++ and can be adopted to work on any PC & Laptop. However, this is not an officially supported option.