Skip to main content
WJANG
Associate
February 9, 2019
Question

I want to cmake built project to my stm32F4~ based board.

  • February 9, 2019
  • 2 replies
  • 1104 views

I would like to upload a project built with cmake gui in the Window10 to mcu board based on stm32f427II chip. When I build cmake, configure is configured as VS2017, and the result is as shown below. However, to upload to the board, I think I need to use an IDE such as KEIL or Truestudio. KEIL is too expensive, and I think I need to use Truestudio.

1) Do I need to set configure to eclipse at cmake in order to upload from Truestudio? If so, what should I choose between eclipse CDT4 - NMake makefiles / MinGW makefiles / Ninja / Unix makefiles at cmake? The Truestudio version is 9.2.0.

2) If I select the configure with VS2017, is it possible to upload the built files directly to the stm32f4 board??

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    February 9, 2019

    Could you use OpenOCD or STM32 Cube Programmer? ​

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Pavel A.
    February 9, 2019

    ​Consider also visualgdb.com. Not free, but affordable and worth is price. And most important, their debugger is good and they know STM32.

    -- pa