---
title: "Discussion on \"How to add source file in STM32CubeIDE?\" | Hashnode"
description: "Discussion on \"How to add source file in STM32CubeIDE?\". Here’s how to add source files to an STM32CubeIDE project (the “right” Eclipse way), plus the common gotchas.\nAdd a new .c/.h file inside CubeIDE\n\nIn Project Explorer, expand your project.\n\nRight-click the folder you want (usually Core/Src for .c and..."
url: "https://hashnode.com/posts/how-to-add-source-file-in-stm32cubeide/6964c2fb64385c0d368721de"
---

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

Discussion

# [How to add source file in STM32CubeIDE?](https://ampheoelectronic.hashnode.dev/how-to-add-source-file-in-stm32cubeide?utm_source=hashnode&utm_medium=feed)

Here’s how to add source files to an STM32CubeIDE project (the “right” Eclipse way), plus the common gotchas. Add a new .c/.h file inside CubeIDE In Project Explorer, expand your project. Right-click the folder you want (usually Core/Src for .c and...

Jan 12 · 2 min read · ampheoelectronic.hashnode.dev  
Read the article

-   [#source-file](https://hashnode.com/tag/source-file)
-   [#stm32cubeide](https://hashnode.com/tag/stm32cubeide)
-   [#stm32](https://hashnode.com/tag/stm32)

## Written by

[ampheo](https://hashnode.com/@ampheo)

@ampheo

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

Electronic Components Distributor

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
