Chapter 8. Porting and Configuring QF

As a rule, software systems do not work well until they have been used, and have failed repeatedly, in real applications.

David Parnas

In this chapter I describe how to adapt the QF real-time framework to various processors, compilers, and operating systems, which is a process called porting. Porting QF is relatively easy because QF has been designed from the ground up to be portable. In particular, QF contains a clearly defined platform abstraction layer (PAL), which encapsulates all the platform-specific code and cleanly separates it from the platform-neutral code. Depending on the chosen RTOS/OS, the CPU architecture, and the compiler, porting QF might require writing or modifying between 5 and 100 lines ...

Get Practical UML Statecharts in C/C++, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.