compiling Arduino code to stm32

Thread Starter

mukams

Joined Apr 12, 2020
21
Hi,
I am familiar with the esp module chip and coding via Arduino.
Recently the manufacturer suggested using MCU as stm32 for dividing major tasks as esp would do the wifi section.
The code mcu_sdk was provided I tried to compile it at Arduino ide with STM32 library installed but got an error.
how to compile those C codes for stm32 so that I can flash the MCU without loading the stm32cubeide.
As I am not familiar with stm32.I just want to compile the given mcu_sdk code and flash.
I am attaching the file for ref
 

Attachments

I think you try Programming the Arduino is as simple as plugging in the USB cable and hitting the upload button in the IDE. The STM32 series do not have this feature out of the box but can be added to the STM32F103 by uploading the Arduino bootloader to it.
 

Ya’akov

Joined Jan 27, 2019
8,974
I tried to compile it at Arduino ide with STM32 library installed but got an error.
It is going to be exceedingly hard to help if you don’t tell us which error (preferably with the text from the IDE window or a screenshot. There are an effectively infinite possible “errors” (not absolutely but too many to guess at yours).
 
Top