The eighth video of the Rust Embedded course.
In this video you will learn:
* How to build scalable Rust embedded applications
* What is RTIC (Real-Time Interrupt-driven Concurrency) framework
* How to build a simple RTIC application
* What are init, pre-init and idle tasks in RTIC
* What are shared and local resources in RTIC
* How to lock the resources and tasks from preemption
* What are software and hardware tasks in RTIC
* How to enable button presses with EXTI interrupts
* How to put the MCU into sleep mode
References:
* Rust RTIC book (https://rtic.rs/1/book/en/)
* STM32F303 Reference Manual (RM0316) (https://www.st.com/resource/en/reference_manual/dm00043574-stm32f303xb-c-d-e-stm32f303x6-8-stm32f328x8-stm32f358xc-stm32f398xe-advanced-arm-based-mcus-stmicroelectronics.pdf)
Timeline:
0:00 - Intro
0:19 - RTIC Basics & Features
1:13 - Simple RTIC application (blinking LED)
4:48 - Running the application
5:19 - Extend the application (button interrupt handler)
9:00 - Running the application
10:15 - Additional features (capacity, priority, sleep-on-exit)
12:10 - Outro
#rust #embedded #google