Тёмный

Ultimate Build Workspace for STM32 (lots of resources) | VIDEO 49 

Matej Blagšič
Подписаться 8 тыс.
Просмотров 5 тыс.
50% 1

In this video I walk you through my "new" repository for building, testing, versioning and documenting STM32 development process. It is like my previous "stm32-cmake" repository but with much more information.
I will explain the contents of native and container build tools along with reasoning behind them. I skipped the demonstration on flashing capabilities, but they are in fact the same as in video 43, so make sure to check it out.
In future video I will demonstrate how to use this repository for your specific project.
You can find the new repository on github:
github.com/prtzl/stm32
You can also find the previous one as well:
github.com/prtzl/stm32-cmake
Timestamps:
0:00 Introduction
5:22 Main readme walkthrough
8:05 Repository walkthrough
10:22 Native build - intro
13:47 Native build - without make
14:50 Native build - makefile walkthrough
19:15 Native build - demonstration in linux
21:37 Native build - demonstration on windows
23:09 Container build - intro
29:44 Container build - dependencies
35:00 Container build - demonstration in linux
37:40 Container build - demonstration on windows
39:16 Container build - extra content
40:39 Extra tool tips
43:46 Extra code tips
45:55 Closing remarks

Наука

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@nystwysrt
@nystwysrt 2 года назад
Best channel so far! Please keep doing these type of STM32 videos! Cheers!!!
2 года назад
Thank you, I sure will :)
@brahimJr
@brahimJr 2 года назад
Great job! awesome channel! keep it up Boss! 😍✌️👍 Cheers🤩
@user-mq5vf2yh8p
@user-mq5vf2yh8p 9 месяцев назад
Hi, great videos, have you ever tried setting up an LSP to parse these kind of projects? I've been able to partially get it working, quite a lot of links and tooltips loading etc, but they seem to have difficulty with the STM libraries and throw up errors.
@BerthaProt
@BerthaProt Год назад
Great video, thanks, this help me a lot. May i suggest a topic for one of your next video ? Clang Tidy with stm32, I tried, but rigth now it is out of my skills . Regards✌✌
Год назад
That's a good point. In fact, I kind of use clang-tidy in my development environment by the use of clangd for checking code style and potential errors. Might be a good idea to present my current development environment and tools that I use beyond just the build tools.
@BerthaProt
@BerthaProt Год назад
@ Thanks for taking the time to answer me . For my part I came to look into clang for naming convention; for code formatting I used uncrustify. But clang also have a simpler code formating and also an error analysis. So clang seems to have everything a code writter can dream of but implementing it into STM32 project make me abord this. Thanks in advance for your coming video xD
@reeraslan
@reeraslan Год назад
Hello Matej, Great video as always thank you. Would it be possible for you to share your alacritty config file? I liked it and want to use it on my PC. Thanks again!
Год назад
There is not much in the alacritty config apart from color scheme. Zsh and starship do the rest. github.com/prtzl/fedora-config/blob/master/dotfiles/alacritty.yml
@ir4640
@ir4640 Год назад
Would docker be suitable for something like this?
Год назад
I use nix for my development and release as it's convenient for both. I add docker for all coworkers, so that there is a way to build the "official" release image with the correct compiler and libraries. For development it"s a bit impractical unless you also have your development environment inside as well.
@luz_reyes_676
@luz_reyes_676 2 года назад
Have you looked at ObKo integrating a lot of the STM32 files into CMake? At least in terms of a findPackage.cmake. It setups the toolchain properly as well (if you have it installed). All I had to do was add the path to the cmake scripts to the CMake module path. And bam. i can request the libraries that i want and link them to my own project. Its never been easier!
@darsanpradeep4986
@darsanpradeep4986 2 года назад
can you provide video link, using cmake as you mentioned
2 года назад
@Arianna Rodriguez I checked out the repository and it looks interesting the way it modularizes different parts of the configuration, leaving the main CMakeLists.txt shorter. I'll give it a test run, but for releasing projects and work I'll stick to more "simple" configuration. When sharing code, people will understand the project configuration quicker and it keeps the codebase smaller and more maintainable - less stuff equals less potential bugs and tests.
@luz_reyes_676
@luz_reyes_676 2 года назад
@@darsanpradeep4986 its on GitHub. I dont think I can post links here on RU-vid. Like RU-vid may just remove them
@luz_reyes_676
@luz_reyes_676 2 года назад
@ Fair enough. I thought this was much more simple, as in basically no need for any software (except as reference) from ST. And your actual projects does not even need to contain ObKo's repo or any ST cube packages. I think I should go over your content again though, its been a minute
2 года назад
I just worked on my H7 dual core cmake project and there is quite some repetition. Each core (target) has its own executable, headers, sources, compile options and such. When thinking about how this repository might shorten the repetition I started making some macros and functions. I might end up at a similar concept, but smaller. Who knows :P
@Bender26
@Bender26 2 года назад
Why so low resolution?
2 года назад
RU-vid was still processing HD version, should be up now.
@brahimJr
@brahimJr 2 года назад
Awesome video! Yet,Could you please please show me how to flash stm32 using cubeide in Linux ? My serial port is not shown using uart in putty
2 года назад
You need a debugger to flash with CubeIDE. Flashing over uart requires the device to enter bootloader mode. I mentioned it in my flashing video.
@brahimJr
@brahimJr 2 года назад
@ Thank you very much, Could you please send me the video link ?
2 года назад
@Brahim Jarallah Complete tutorial using CubeIDE and stlink debugger was in video 18, other independant tools are described in video 44, both on my channel. Cheers.
@brahimJr
@brahimJr 2 года назад
@ Ahh OK Matej that's wonderful , I will try that! Thanks a lot boss! 🤗😊🤩
@twotool
@twotool 2 года назад
Please upload high res video thanks :)
2 года назад
RU-vid was still processing HD version, should be up now.
@twotool
@twotool 2 года назад
@ 😄
Далее
STM32 project managed with CMake | VIDEO 46
34:36
Просмотров 20 тыс.
The Problem with Wind Energy
16:47
Просмотров 849 тыс.
He turned a baseball into a stylish shoe😱
00:59
Просмотров 867 тыс.
DMA on STM32 HAL with 2 example projects | VIDEO 36
1:03:17
Building with Make and CubeMX | VIDEO 42
23:53
Просмотров 16 тыс.
The Tragedy of systemd
47:18
Просмотров 1,1 млн
Развод с OZON - ноутбук за 2875₽
17:48
Main filter..
0:15
Просмотров 12 млн