The BEST Project Structure for C/C++/MCU | Embedded System Project Series #7

preview_player
Показать описание
In this video, I talk about how I'm going to organize the files of the project and I present the following structure:

build/
docs/
src/
app/
common/
drivers/
test/
main.c
tools/
.clang-format
.gitignore
LICENSE
Makefile
README.md

Is this the best project structure? Well, take a look at the video for my opinion :)

0:00 What's the best structure?
1:33 Ex 1: The Pitchfork Layout
2:13 Ex 2: Canonical Project Structure
2:45 My project structure
7:35 Naming conventions
7:57 Last words

🌍 Links mentioned

⌨️ My development environment

🌍 Links

👨‍💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.
Рекомендации по теме
Комментарии
Автор

Noticed I Introduced some audio clipping after moving my microphone closer 🤦‍♂ I will get that sorted next video!

artfulbytes
Автор

I like so much how you documented your proyect, and the details in the video production are 10/10. I am having my own embedded adventure and this serie is a huge partner.
Btw, what's the font you are using on the terminal?

vitto_pincharrata
Автор

Great work. You explained the things very well. This is a very good foundation for not only embedded projects.

EEEEMMMMKKKK
Автор

Ohhh, I think the dog vs. cat person thing does have an impact of how a person organizes their project structure! Great video!

PulpFreePress
Автор

Great video!!
I searched a lot for standard project structures for C++ for embedded systems...
I could not find any general explanation like yours, explaining the possibilities, reasoning behind them, motivations for organizing...
Thanks for this great material and awesome video series!

gabriel_gelli
Автор

Thanks a lot for the video, especially for the provided resources❤

rdsaw
Автор

Awesome videos. Just curious as to why the msp430 for your robot project?

QWin-iryq
Автор

Thank you for this video series, its very interesting to see what others are doing.

What template or rules do you follow for naming folder and files? Is there a document for it?

ericksagaguara
Автор

Great video. Very interesting and something I was searching for badly. I have one suggestion though. If you could please lower the pace of your speaking, then it would help us follow through. Keep up the good work.

adrishkumar