Embedded software is typically developed using traditional programming languages like C and C++. However, these traditional types of programming languages are not well suited for embedded systems development. The model-based embedded software project extends the code-generating capabilities of Ptolemy II to help users develop software using model-based design techniques for ARM mbed devices. In particular, this project primarily focuses on automatically generating C/C++ code in Ptolemy II for Synchronous Data Flow (SDF) and Finite State Machine (FSM) models. This makes it easier to design and debug, leading to faster and more robust software development.