cancel
Showing results for 
Search instead for 
Did you mean: 

How to include Arduino.h in STM32CubeIDE?

EPham.1
Associate

I know this is generally not a kosher move, but I would like to use STM32CubeIDE as well as the Arduino library on one MCU. I need to configure the MCU on a Blue Pill (STM32F103C8) to be an SPI slave. I could not figure out how to get this done in VS Code, but CubeIDE has it working. However, I also need to use the Roboclaw c++ library which relies on Arduino.h to manage serial communications. I do not want to rewrite the Roboclaw library, but cannot find any resources for using the Arduino library on STM32CubeIDE. Has this been done before? Does anyone here have any ideas?

0 REPLIES 0