This video is a start to a few videos where I talk about the new IDE and library HAL. Transition from STD LIB had to be done, so now we're here. This series of videos will talk about how to get the hang of it. ... https://www.youtube.com/watch?v=toWdzltVtNA
In this video I continue my C++ series on embedded. Although my channel is about embedded, these videos focus on parts of C++ that are usable in embedded systems without OS.
This also means that all of these topics represent a base of C++ that every beginner should know, even for building applications.
Presentation repository, which will be updated with more slides on every new video:
https://github.com/prtzl/Embedded_videos/blob/master/CPP-for-everyone/cpp-for-everyone-presentation.pdf
Timestamps:
0:00 Introduction
1:11 Prerequisites
2:36 Motivations for using C++ over C
3:16 Keyword differences
4:31 C++ versions matter!
5:48 Enums in C++
11:36 Variable initialization and assignment
13:36 References
19:01 Closing remarks
...
https://www.youtube.com/watch?v=UagLrecTgRo
If you want to skip to hardware initialization:
If you want to skip to code:
In this video I explain the workings of ADC along with all the settings and code to make use of this peripheral. All the code is available in the Github link below:
https://github.com/SausageCode/Embedded_videos/tree/master/024_ADC-HAL
...
https://www.youtube.com/watch?v=k-clmvClDG8
This is a different video. It is on a project, that I have been working on using IBM Cloud services.
Check out my Github repository for more info and code:
https://github.com/SausageCode/facerecog
...
https://www.youtube.com/watch?v=TCPfnVdG5_M
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:
https://github.com/prtzl/stm32
You can also find the previous one as well:
https://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
...
https://www.youtube.com/watch?v=n-HHukR5EnE
In this video I show you my minimal CMake configuration which requires very few modifications to adapt to different STM32 microcontrollers. I also demonstrate this in the video.
The configuration was inspired by following article and youtube video and I recommend you to have a look:
https://dev.to/younup/cmake-on-stm32-the-beginning-3766
https://www.youtube.com/watch?v=rgWwrzZLVR8&t=2144s
Timestamps:
0:00 Introduction
1:57 Overview of sample project
3:46 Modifying CubeMX generated Makefile for the project
5:58 CMake files
7:08 CMake gcc-arm-none-eabi toolchain walkthrough
11:47 CMakeLists.txt walkthrough
24:58 Manual CMake configuration launch, configuration inspection and build
30:34 Automation using top level Makefile walkthrough
33:22 Ending remarks
Project files:
https://github.com/SausageCode/Embedded_videos/tree/master/046_BUILDING-PT5-cmake
...
https://www.youtube.com/watch?v=9tWRdnyWGb8
In this video I show you how to use DMA with ADC as a simple and useful example. Data is then sent over UART to a serial terminal. Make sure to see previous videos on those topics.
Previous video: https://www.youtube.com/watch?v=C6gyFE37IL4
Project code: https://github.com/SausageCode/STM32videos
...
https://www.youtube.com/watch?v=FeuZdqR9Fk8
In this video I explain USB HID class and show you how to use your stm32 to send keyboard keys to your computer. Make sure to watch untill the end for additional functions and code.
Code for this video:
https://github.com/SausageCode/Embedded_videos/tree/master/022_USB-HIDKeyboard
...
https://www.youtube.com/watch?v=qp4VBkrjF-0
In this video I show you how to use your STM32 USB peripheral as serial interface to your computer. Please check the link for code used in the video.
https://github.com/SausageCode/STM32videos/tree/master/video20_usb_Serial/code
...
https://www.youtube.com/watch?v=Z8I4UGWcFUM
In this video I show you how to send data over USART and USB to Serial converter to a PC.
Previous video: https://www.youtube.com/watch?v=IE2PpYzsa9M&t=0s&index=3&list=PLEg2mgYz66IOkLc0hID_RQRVExP2K0Ih2
Project code: https://github.com/SausageCode/STM32videos
...
https://www.youtube.com/watch?v=Ldbe1rIgbxg