最新消息:请大家多多支持

ESP32: Arduino + FreeRTOS (in VSCode/PlatformIO)

其他教程 dsgsd 91浏览 0评论

Last updated 1/2023
Created by Viacheslav Kulakov
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 8 Lectures ( 1h 33m ) | Size: 1 GB

Arduino multithreading/multicore programming for ESP32

What you’ll learn
You will learn how to use VSCode and PlatformIO in ESP32 arduino projects
You will learn how to combine arduino and FreeRTOS in your ESP32 project
You will be able to create multithreaded ESP32 applications
Learn thread synchronization (mutexes, semaphores, queues, event flags)
Critical sections and hardware interrupts
Arduino milticore

Requirements
Arduino and C/C++

Description
In this course I will tell about multithreaded arduino programming for ESP32. After completing it, you will learn how to combine the powerful functionality of arduino libraries with multithreaded programming for FreeRTOS.In the first introductory lecture, I will introduce you to VSCode, which is well suited for developing arduino programs. We will install it and the PlatformIO extension, which allows to compile and debug programs for arduino. Next, we will download a simple arduino-wifiscan project provided by PlatformIO, and use its example to learn how to work with projects in VSCode. Next, we will transfer this project to the original Arduino IDE and run it. After that, we will open the sample project in the Arduino IDE and import it from VSCode.In the next lecture, we will figure out how the arduino program for ESP32 works and find the main file for it. Next, we will write a simple multithreaded program with three threads.In the third lecture, we will study in detail the work of this program and use examples to understand what the priorities of tasks affect.In the next, fourth lecture, we will begin to study ways to synchronize between tasks and change a previously written program to synchronize two threads using a mutex.In the fifth lecture, we will run one of the tasks on another processor core and use its example to get acquainted with critical sections and find out what spinlock is.In the sixth lecture, I will show you how to synchronize tasks using semaphores. We will get acquainted with binary and counting semaphores. Than in this lecture we will study queues.In the seventh lecture I will talk about flags and events.In the eighth lecture, I will tell you how synchronization is performed between hardware interrupts and tasks. We will add an interrupt from the timer to the previously written program and use its example to consider the use of flags from the interrupt. Different processor cores will be used.Next, several more examples of multi-threaded programming of ESP32 with arduino will be considered.

Who this course is for
Aspiring developers of programs for ESP32


Password/解压密码www.tbtos.com

https://rg.to/file/01d45f258f343ed0d6bf82fb6dfdc508/ESP32_Arduino___FreeRTOS_(in_VSCodePlatformIO).part1.rar.html
https://rg.to/file/4464ba867664991b89229674e5fff26a/ESP32_Arduino___FreeRTOS_(in_VSCodePlatformIO).part2.rar.html

资源下载此资源仅限VIP下载,请先

转载请注明:0daytown » ESP32: Arduino + FreeRTOS (in VSCode/PlatformIO)

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址