??? 03/24/06 17:28 Read: times |
#113001 - Collecting Responding to: ???'s previous message |
The bag of tricks has partitions between portable platform-independent code and nonportable platform-specific code with further partitions between all the different CPUs and toolchains I deal with.
For example, I (re)use the same code for a command line interpreter with help system in an embedded Linux app and in an 8051-based test system, but the low-level UART I/O bits hook in cleanly according to the target. Architecting for portability with clean interfaces for the platform-specific bits is key to cranking out many projects per year and keeping up with time-to-market pressures. When Erik provides the better portable parity code, it will replace the (apparently) lame code I'm presently using. |