Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Hands-On RTOS with Microcontrollers

You're reading from   Hands-On RTOS with Microcontrollers Create high-performance, real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools

Arrow left icon
Product type Paperback
Published in Sep 2025
Publisher Packt
ISBN-13 9781803237725
Length 570 pages
Edition 2nd Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jim Yuill Jim Yuill
Author Profile Icon Jim Yuill
Jim Yuill
Penn Linder Penn Linder
Author Profile Icon Penn Linder
Penn Linder
Arrow right icon
View More author details
Toc

Table of Contents (27) Chapters Close

Preface 1. Part 1: Introduction to RTOSes, the Dev-Board, and Tools
2. Introducing Real-Time Systems FREE CHAPTER 3. Introducing the Development Board 4. Introducing the Development-Tools 5. Understanding Super-Loops 6. Implementing the Super-Loop 7. Part 2: The FreeRTOS Scheduler, Tasks, and Primary APIs
8. Understanding RTOS Tasks 9. Running the FreeRTOS Scheduler 10. Protecting Data and Synchronizing Tasks 11. Intertask Communication 12. Part 3: Using FreeRTOS to Build Systems
13. Drivers and ISRs 14. More Efficient Drivers and ISRs 15. Sharing Hardware Peripherals among Tasks 16. Creating Loose Coupling with Queues 17. Part 4: System Design and Troubleshooting
18. FreeRTOS Memory Management 19. Multi-Processor and Multi-Core Systems 20. Troubleshooting Tips and Next Steps 21. Part 5: Reference Information and FreeRTOS Installation
22. Other Books You May Enjoy
23. Index
Appendix A: Tools Quick-Reference 1. Appendix B: Reference Information 2. Appendix C: Creating FreeRTOS Projects, and Installing FreeRTOS

Summary

In this chapter, we talked a lot about real-time systems. We defined a real-time system and gave some examples of real-time systems in the real world. At this point, you should understand how real-time systems have different timing requirements and how there are different consequences for not meeting those timing requirements.

We then looked at the ways to use hardware and software to implement real-time systems. We saw that some real-time systems can just use hardware to meet their timing requirements. On the other hand, some real-time systems can get away with just using software on a general-purpose OS. In between those extremes is the focus of this book: applications that depend on an RTOS and run on an MCU.

After better understanding real-time systems, we defined an RTOS and described how it differs from a general-purpose OS. We explored the difference between hard, firm, and soft real-time systems. It is important to remember that the timing requirements of the real-time system determine what type of RTOS is necessary to achieve the desired performance.

We discussed the types of RTOSes that are available and why FreeRTOS was chosen for this book. FreeRTOS is mature and is used widely in industry. It is also free! And, learning FreeRTOS is a way to better understand RTOSes in general.

Finally, we looked at when it is appropriate to use an RTOS, and when it is not. And, when appropriate, we looked at determining the type of RTOS to use.

Upcoming chapters show how FreeRTOS works, and how to use it. The chapters are illustrated with example programs that run on an ST development board. The next two chapters present the development board, and also, the development tools (e.g., the IDE) that we will be using to run the example programs.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Hands-On RTOS with Microcontrollers
You have been reading a chapter from
Hands-On RTOS with Microcontrollers - Second Edition
Published in: Sep 2025
Publisher: Packt
ISBN-13: 9781803237725
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon