Another instance of can-you-believe-how-cool-this-stuff-is?: "WhatOS http://www.sticlete.com/whatos/index.html is a free open source embedded system development solution. It provides a complete set of tools for creating high-quality, reliable embedded systems. These include: a real-time operating system (RTOS) generator, a simulator for testing and debugging generated systems, and tools for interacting with systems remotely after they have been embedded."
And it's powerful, thrifty, flexible, friendly, and ... scriptable! Python's the exposed development environment.