As of CLion 2017.3, CLion devs screwed up everything again and I don't managed to get it running yet. This plugin was developed when no other alternatives existed. Now these alternatives appeared: https://github.com/elmot/clion-embedded-arm
Internal classes of CLion are obfuscated, so fernflower, which is a default IntelliJ Java decompiler, refuses to decompile them. Fixing and debugging this obfuscated stuff is not enjoyable to anyone, so I stop maintaining this project. Plugin is no longer supported nor updated.
μCL is a tiny CLion plugin that brings CLion and OpenOCD together. Upload firmware and start debugging just in one click!
Get it from JetBrains plugin repository
Tested on STM32F407
- Set path to
arm-none-eabi-gdb
executable as global GDB path - Set path to
openocd
executable in plugin settings - Copy appropriate OpenOCD script to the parameters of launch configuration
- Just click Run (upload firmware without debugging) or Debug and enjoy.