Thanks for reaching out.
Yes, you can compile and download code to STM32. Here’s how:
For C/C++:
- Install https://www.st.com/en/development-tools/stm32cubeide.html.
- Create a project for your STM32 MCU, write your code, and build it.
- Use https://www.st.com/en/development-tools/stm32cubeprog.html or ST-LINK to flash the binary.
- Install Visual Studio with nanoFramework extension.
- Create a nanoFramework project, build it, and deploy to the STM32 board.
- Create a project for your STM32 MCU, write your code, and build it.
Tip: Make sure your board drivers and firmware are up to date.
Let us know if the issue persists after following these steps. I’ll be happy to assist further if needed. If the issue has been resolved, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.