elmot / clion-embedded-arm

OpenOCD + STM32CubeMX support for CLion
https://blog.jetbrains.com/clion/2017/12/clion-for-embedded-development-part-ii
Other
170 stars 29 forks source link

Determine board config file from STM32CubeMX #108

Closed csann closed 6 years ago

csann commented 6 years ago

Expected Behavior

It would be very helpful if you were able to determine the board configuration file based on the STM32CubeMX project that was imported. If this were done, the projects debug configuration would typically require no user changes. It would also simplify the setup for new users. While there is not much good that can be said about Eclipse, it is able to automatically set this file.

Actual Behavior

The board config file must be set by the user even though the STM32CubeMX project already knows what board is being used.

elmot commented 6 years ago

The feature is partly implemented already, please use CLion 2018.2 EAP and the plugin 1.1.alpha7. The plugin tries to make a guess which file to use during project import.

Unfortunately it's hardly possible to keep the list of boards in sync with OpenOCD, because there are so many boards and openocd is updated every now and then.

Duplicate #54

elmot commented 6 years ago

image It's here

csann commented 6 years ago

Yes, I know of that. I’ve also had CLion pop up a dialog box...during importing, it think. Doesn’t happen all the time.

I’m so happy I don’t have to use Eclipse anymore. Thank you for providing this plugin,

On Jul 13, 2018, at 8:50 AM, Ilia Motornyi notifications@github.com wrote:

It's here

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.