Page 219 - The Art of Designing Embedded Systems
P. 219
206 THE ART OF DESIGNING EMBEDDED SYSTEMS
then be able to identify the ROM by dumping the ROM’s contents. An ex-
ample definition is:
# undef VERSION
# define VERSION “Version 1.30”
Example:
..................................................
* Version Module-Project SAMPLE
*
* Copyright 1997 Company
* All Rights Reserved
*
* The information contained herein is confidential
* property of Company. The use, copying, transfer
* or
* disclosure of such information is prohibited
* except
* by express written agreement with Company.
*
# undef VERSION
# define VERSION “Version 1.30”
* 12/18/97-Version 1.3-ROM ID 78-130
* Modified module AD-TO-D to fix
* scaling
* algorithm; instead of y=mx, it
* now
* computes y=mx+b.
* 10/29/97-Version 1.2-ROM ID 78-120
* Changed modules DISPLAY-LED and
* READ-DI P
* to incorporate marketing’s
* request for a
* diagnostics mode.
* 09/03/97-Version 1.1-ROM ID 78-110
* Changed module ISR to properly
* handle
* non-reentrant math problem.
* 07/12/97-Version 1.0-ROM ID 78-100
* Initial release
....................................................

