Combining Single-processor Prototyping and Code Generation for the Development of Distributed Embedded Systems