A rudimentary software architecture

Introduction

In the first pattern in this chapter we consider the minimum software environment required to create a typical embedded application: this environment is called SUPER LOOP [page 162].

Please note that we will use Super Loop in this book primarily to allow us to illus- trate some introductory software patterns in Chapters 10, 11 and 12. In Chapter 13 we will demonstrate that a co-operative scheduler provides a more appropriate environment than a SUPER LOOP for the great majority of embedded applications.

The second pattern (PROJECT HEADER [page 169) is a practical implementation of a standard software design guideline: ‘Do not duplicate information in numerous files; place the common information in a single file and refer to it where necessary.’ Specifically, PROJECT HEADER pulls together the information connected with the par- ticular microcontroller used in your application, along with other key pieces of information that are required by many of the files in your project.

Leave a comment

Your email address will not be published. Required fields are marked *