Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On RTOS with Microcontrollers
  • Table Of Contents Toc
Hands-On RTOS with Microcontrollers

Hands-On RTOS with Microcontrollers - Second Edition

By : Jim Yuill, Penn Linder
5 (1)
close
close
Hands-On RTOS with Microcontrollers

Hands-On RTOS with Microcontrollers

5 (1)
By: Jim Yuill, Penn Linder

Overview of this book

This updated edition of Hands-On RTOS with Microcontrollers is packed with cutting-edge content to help you expand your skills and stay ahead of the curve with embedded systems development. Written by senior engineers with decades of experience in embedded systems and related technologies, it covers the role of real-time OSs in today’s time-critical applications, and it covers FreeRTOS, including its key capabilities and APIs. You’ll find detailed descriptions of system design, hands-on system use, the hardware platform (dev-board, MCU, and debug-probe), and the development tools (IDE, build system, and debugging tools). This second edition teaches you how to implement over 20 real-world embedded applications, using FreeRTOS's primary features. The chapters include example programs on GitHub, with detailed instructions. You’ll create and install your own FreeRTOS system on the dev-board (purchased separately), and set up an IDE project with debugging tools. An ST dev-board is used with the book, and it is purchased separately (STM32 Nucleo-F767ZI - the dev-board is not required to read and understand the book). By the end of this book, you’ll have the hands-on skills to start designing, building, and optimizing embedded applications, using FreeRTOS, development boards, and debugging tools.
Table of Contents (27 chapters)
close
close
1
Part 1: Introduction to RTOSes, the Dev-Board, and Tools
7
Part 2: The FreeRTOS Scheduler, Tasks, and Primary APIs
12
Part 3: Using FreeRTOS to Build Systems
17
Part 4: System Design and Troubleshooting
21
Part 5: Reference Information and FreeRTOS Installation
22
Other Books You May Enjoy
23
Index
1
Appendix A: Tools Quick-Reference

FreeRTOS Memory Management

So far, we’ve worked through many examples of creating FreeRTOS primitives, such as tasks, semaphores, queues, etc. However, when these primitives were initially created, there wasn’t much of an explanation as to where the memory was coming from. In this chapter, we’ll learn exactly where the memory comes from, along with when and how it is allocated. Choosing when and how memory is allocated allows us to make trade-offs between coding convenience, timing determinism, potential regulatory requirements, and code standards. We’ll conclude by looking at different measures that can be taken to ensure application robustness.

The chapter has three example-programs, and they are in the IDE-project Chapter_14.

In a nutshell, this chapter covers the following:

  • Understanding memory allocation
  • Static and dynamic allocation of FreeRTOS primitives
  • FreeRTOS heap implementations
  • Replacing malloc and free
  • ...
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
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon