-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Hands-On RTOS with Microcontrollers
By :
For many readers, hands-on use of the book’s example programs will be invaluable for gaining skills. This includes using the debugging tools to observe and analyze the programs’ behavior. Hands-on use requires having the dev-board, installing the development tools, and downloading the example programs.
Conversely, for experienced engineers, it may be most efficient to simply read the book and not run the example programs.
The book explains the example programs’ primary parts. As you read the book, it’s also helpful to have the IDE available, to view the full code-listings and explore the example programs in more detail.
To master the material in this book, we recommend two approaches:
The example-programs for the book are hosted on GitHub at https://github.com/PacktPublishing/Hands-On-RTOS-with-Microcontrollers-Second-Edition. Instructions for downloading, installing, and using these programs are provided in chapter 3.
We also have code bundles from our catalog of books and videos available at https://github.com/PacktPublishing. Check them out!
To run the example-programs, an STM32 Nucleo-F767ZI dev-board is needed. In the future, if additional hardware is supported, it will be described in the book’s GitHub repository:
https://github.com/PacktPublishing/Hands-On-RTOS-with-Microcontrollers-Second-Edition.
The development-tools and how to use them are presented in Chapter 3, Introducing the Development Tools. In writing the book, the Windows 11 versions of the tools were used. The tools are also available for macOS and Linux, and those versions are expected to work adequately with the book, though we have not fully tested them.
The example-programs can be downloaded from the book’s GitHub repository. This is also described in chapter 3.
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781803237725.
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “both globalVar and staticVar are located in static memory”
A block of code is set as follows:
void vApplicationStackOverflowHook( void )
{
__disable_irq();
while(1);
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in highlighted:
void vcpTransmitComplete( void )
{
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
// Give the semaphore, to indicate the transmit completed
xSemaphoreGiveFromISRvcpTransmitCompleteSemaphore( ,
&xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}
Any command-line input or output is written as follows:
Disabled output of control characters
SEGGER Ozone - The J-Link Debugger V3.38f
J-Link software found at: C:/Program Files/SEGGER/Ozone V3.38f/JLink_x64.dll
Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: “Open the STM32CubeIDE, and the example-programs’ workspace.”
Warnings or important notes appear like this.
Tips and tricks appear like this.