Это видео недоступно.
Сожалеем об этом.
FreeRTOS SMP on the RP2040 Tutorial - Symmetric Multiprocessing with FreeRTOS!
HTML-код
- Опубликовано: 17 авг 2024
- To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/.... The first 200 of you will get 20% off Brilliant’s annual premium subscription.
In this tutorial we will walk through how to use SMP in a FreeRTOS environment on the RP2040 chip. Specifically, we will set up a FreeRTOS SMP project whilst explaining how SMP works. We will tell you about some of the things you need to look out for, like the fact that now two tasks can run truly concurrently and we will also give you two demonstration projects for you to work on.
Links Mentioned:
Tutorial Write Up: learnembeddeds...
GitHub FreeRTOS template Repo: github.com/Lea...
FreeRTOS on the RP2040 Tutorial Playlist: • FreeRTOS Tutorial
Embedded Computing Design Article (Daniel Gross): embeddedcomput...
Timestamps:
00:00 Introduction
01:14 Brilliant
02:21 Multicore FreeRTOS Architecture
04:02 SMP vs Single Core
06:23 FreeRTOS SMP Functions
08:31 Project Setup
10:14 Demo 1: Blinky
12:27 Demo 2: Core pinning
14:50 Conclusion
You can find more embedded systems tutorials and projects on our website learnembeddeds...
-- Equipment we use regularly --
The following links are affiliate links where we may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed.
Budget Soldering Iron: UK: amzn.to/3pQpvUu US: amzn.to/3bBawIJ
Breadboards: UK: amzn.to/3solZCe US: amzn.to/3dGsHiS
Jumper Cables: UK: amzn.to/37JfToi US: amzn.to/3r384S9
Camera: UK: amzn.to/3qKLwFr US: amzn.to/3pK0V7C
Lens: UK: amzn.to/380lQxp US: amzn.to/3knH3WL
Tripod: UK: amzn.to/37H0Nzw US: amzn.to/3byKHsV
All videos and tutorials on this channel and mentioned websites are for educational purposes only.
This video was sponsored by Brilliant.
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/LearnEmbeddedSystems. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
Explaining such complex concepts in a simple way is an art form! Thank you for taking the time to put this together! It is an awesome video.
Thank you for continuing. One of the best RP2040 tutorials.
Amazing tutorial. Thank you!
Nice video, I have a doubt, which core does the kernel/scheduler run on, because obviously some tasks will be interrupted to run scheduler, but how is it decided whether on core0 or core1.
Thanks, excellent tutorial. As a small aside I found I had to add "#define configUSE_MINIMAL_IDLE_HOOK 0" to the FreeRTOSConfig.h file in src before the blink example would compile.
Since it appears that semaphores are unique per processor (not in shared memory), is there a better answer to SMP mutexes rather than a single message task and queue?
Cannot run the simple blink program because did not define configUSE_IDLE_HOOK , configUSE_PASSIVE_IDLE_HOOK and vApplicationPassiveIdleHook. How to fulfill this requirements? I am using FreeRTOSv202212.01
Hello, I've enjoyed the whole series of videos, but while taking the rp2040-freertos-template (with recursive) i get an error with the CMakeList.txt in FreeRTOS-Kernel/portable/ThirdParty/GCC/RP2040 - the line project(FreeRTOS-Kernel C CXX)
the output shows "nmake '-?' failed with: the system cannot find the file specified.
this is an installation on Windows with the Pico SDK1.5.1 which I've used successfully for other (non FreeRTOS) related projects