Using a PEmicro Multilink Debug Probe With CLion
In this video, we show how to use CLion together with a PEmicro Multilink debug probe in order to develop, build, and debug code on an ARM-based microcontroller. For this example, our target device will be a BluePill with an STM32F103 ARM Cortex M3 microcontroller, and we will be implementing “Blinky”, i.e. making an LED blink.
We show how to install the required software, connect the hardware, configure and generate the project, create a run configuration in CLion, and finally build and run the code.
00:15 Our setup and hardware
01:51 Installing the software
03:32 Connecting hardware
05:05 Configuring and generating project
06:10 Open the project in CLion
06:32 Writing “blinky” code
07:32 Creating run configuration
08:12 Building and running the code
Subscribe to Blog updates
AI Assistant Insights: Writing C++ Code With the Power of AI in CLion!
AI Assistant in CLion can generate whole code snippets for you. It uses the project context to create relevant function calls and C++ statements.
Striving For Better C++ Code, Part II: Function Summaries to Speed Up the Data Flow Analysis
This is the second blog post in the series dedicated to Data Flow Analysis (DFA) and its implementation in CLion. Read the first part here: Striving For Better C++ Code, Part I: Data Flow Analysis Basics Striving For Better C++ Code, Part II: Function Summaries to Speed Up the Data Flow Analysi…
Striving For Better C++ Code, Part I: Data Flow Analysis Basics
CLion comes with a built-in data flow analyzer, which runs constantly when you are writing your code and helps improve your code’s quality. It can reveal various code problems that might later lead to runtime issues, security breaches, and other vulnerabilities. Examples of these useful checks are c…