Page 64 - The Art of Designing Embedded Systems
P. 64
Stop Writing Big Programs 51
Regardless of processor, build an I/O board that contains your
target-specific devices, such as ADS. There’s an up-front time
penalty incurred in creating the board; but the advantage is faster
code delivery with more of the bugs wrung out. This step also
helps prove the hardware design early-a benefit to everyone.
Summary
You’ll never flatten the complexity/size curve unless you use every
conceivable way to partition the code into independent chunks with no or
few dependencies.
Some of these methods include the following:
Partition by encapsulation
Partition by adding CPUs
Partition by using an RTOS (more in the next chapter)
Partition by feature management and incremental development
Finally, partition by top-down decomposition

