How did you find developing with NIX and flakes for the build process? I've done it for other projects and really liked it, but was interested in your experience with setting up an embedded build environment with it.
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.
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✌✌
Рік тому+1
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.
@ 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
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.
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!
2 роки тому
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
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!
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.
@ 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
@ Thank you very much, Could you please send me the video link ?
2 роки тому+1
@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.
Best channel so far! Please keep doing these type of STM32 videos! Cheers!!!
Thank you, I sure will :)
How did you find developing with NIX and flakes for the build process?
I've done it for other projects and really liked it, but was interested in your experience with setting up an embedded build environment with it.
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.
Great job! awesome channel! keep it up Boss! 😍✌️👍
Cheers🤩
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.
@ 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
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.
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
Why so low resolution?
UA-cam was still processing HD version, should be up now.
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!
can you provide video link, using cmake as you mentioned
@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.
@@darsanpradeep4986 its on GitHub. I dont think I can post links here on UA-cam. Like UA-cam may just remove them
@ 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
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
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
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.
@
Thank you very much, Could you please send me the video link ?
@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.
@
Ahh OK Matej that's wonderful , I will try that! Thanks a lot boss! 🤗😊🤩
Please upload high res video thanks :)
UA-cam was still processing HD version, should be up now.
@ 😄