<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl" -->

---
title: Working With STM32 Arm TrustZone-Based Projects in CLion
description: A practical guide to working with STM32 TrustZone-based projects in CLion 2026.1 EAP. TrustZone splits MCU firmware into secure and non-secure worlds,...
canonical: https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Working With STM32 Arm TrustZone-Based Projects in CLion | daily.dev
og:description: A practical guide to working with STM32 TrustZone-based projects in CLion 2026.1 EAP. TrustZone splits MCU firmware into secure and non-secure worlds,...
og:url: https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl
og:image: https://api.daily.dev/og/posts/hUx69axpl.png
og:image:alt: Working With STM32 Arm TrustZone-Based Projects in CLion
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Working With STM32 Arm TrustZone-Based Projects in CLion

**[JetBrains](https://daily.dev/sources/jetbrains)** · 8 min read · 0 upvotes · 0 comments

## Summary

A practical guide to working with STM32 TrustZone-based projects in CLion 2026.1 EAP. TrustZone splits MCU firmware into secure and non-secure worlds, isolating critical code from exposed interfaces like Wi-Fi or Bluetooth. The post covers the dual-subproject CMake structure generated by STM32CubeMX, how to configure CLion for code insight (requiring a build first), and how to set up debugging with a Generic debug server to flash both secure and non-secure binaries. Key tips include manually specifying executables in run configurations, using a custom GDB connection script to load both ELF images, disabling automatic upload/reset to avoid duplication, and being mindful of the limited hardware breakpoint count (6 on STM32L5). Instructions for disabling TrustZone on the hardware are also included.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jetbrains.com/clion/2026/03/working-with-stm32-arm-trustzone-in-clion/>

## Similar posts on daily.dev

- [The CLion 2026.2 Roadmap: Simplified Debugger Configuration and the Ability to Use Multiple Zephyr West Profiles](https://daily.dev/posts/the-clion-2026-2-roadmap-simplified-debugger-configuration-and-the-ability-to-use-multiple-zephyr-w-rbfe4mqyt) · JetBrains · 0 upvotes · 0 comments
- [CLion 2026.2 Is Here](https://daily.dev/posts/clion-2026-2-is-here-uzu6sh4bt) · JetBrains · 2 upvotes · 0 comments
- [CLion Now Supports DAP Debuggers](https://daily.dev/posts/clion-now-supports-dap-debuggers-vi8ydoms2) · JetBrains · 0 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c), [#devtools](https://daily.dev/tags/devtools), [#embedded](https://daily.dev/tags/embedded), [#stm32](https://daily.dev/tags/stm32)

[View this post on daily.dev](https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Working With STM32 Arm TrustZone-Based Projects in CLion","url":"https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl"},"datePublished":"2026-03-02T13:50:25.423Z","dateModified":"2026-06-04T02:15:34.593Z","description":"A practical guide to working with STM32 TrustZone-based projects in CLion 2026.1 EAP. TrustZone splits MCU firmware into secure and non-secure worlds,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/83fb438ccddef3684d44eccd27e0bdd0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/83fb438ccddef3684d44eccd27e0bdd0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"JetBrains","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"JetBrains","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/53ecf0c676f34b3896ee109609d91efa","url":"https://daily.dev/sources/jetbrains"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/working-with-stm32-arm-trustzone-based-projects-in-clion-hux69axpl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c,devtools,embedded,stm32","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JetBrains","item":"https://daily.dev/sources/jetbrains"},{"@type":"ListItem","position":3,"name":"Working With STM32 Arm TrustZone-Based Projects in CLion"}]}
```

