---
title: "Discussion on \"Cheating STM32CubeMX user code sections without breaking code generation\" | Hashnode"
description: "Discussion on \"Cheating STM32CubeMX user code sections without breaking code generation\". In general, I like the way that ST handles code generation by their device configurator, CubeMX. The generated files contain sections that are entirely controlled by the framework, interspersed with blocks intended for user code that is preserved in ..."
url: "https://hashnode.com/posts/cheating-stm32cubemx-user-code-sections-without-breaking-code-generation/62f37bc79fe9857e6f9e431f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cheating STM32CubeMX user code sections without breaking code generation](https://blog.stefanrickli.dev/cheating-stm32cubemx-user-code-sections-without-breaking-code-generation?utm_source=hashnode&utm_medium=feed)

In general, I like the way that ST handles code generation by their device configurator, CubeMX. The generated files contain sections that are entirely controlled by the framework, interspersed with blocks intended for user code that is preserved in ...

Aug 10, 2022 · 2 min read · blog.stefanrickli.dev  
Updated Aug 12, 2022  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#embedded](https://hashnode.com/tag/embedded)
-   [#codegeneration](https://hashnode.com/tag/codegeneration)
-   [#stm32](https://hashnode.com/tag/stm32)
-   [#cubemx](https://hashnode.com/tag/cubemx)

## Written by

[Stefan Rickli](https://hashnode.com/@stefanrickli)

@stefanrickli

  
[View profile](https://hashnode.com/@stefanrickli)

Embedded Electrical Engineer @ ETH Zürich

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
