homepage › Forums › BridgePoint/xtUML Usage and Training › How to generate source with BP MC-3020
- This topic has 4 replies, 2 voices, and was last updated 3 weeks, 4 days ago by
Schmill.
-
AuthorPosts
-
November 9, 2023 at 9:15 am #7722
Schmill
ParticipantHi there,
I would like the MC-3020 to generate source files so I can accomplish something similar to what is described here:When I build my project, only documentation and SQL is generated but no source. perhaps you could refer me to a document that describe how to set up source generation.
Thank you.
November 9, 2023 at 9:45 am #7723cort
KeymasterThe easiest way to learn is to look at an example project. In BridgePoint go to Help and then QuickStart. You will see example projects that you can import. Import the Microwave Oven project. It is completely set up to generate and compile C code using MC-3020.
November 9, 2023 at 10:08 am #7724Schmill
ParticipantThe microwave example is very useful, but unfortunately my project isn’t configured properly to produce the source. I
The document states that:“When the sample MicrowaveOven project was created, the following downstream tools were selected:
•MC-3020 as the translationcomponent
•CDT builderas the compiler/linker”I assume that this is the CDT that produces the source? So my question would be: how can I add it to my project that has only the MC and the docgen?
Thank you.
November 9, 2023 at 10:19 am #7725cort
KeymasterI think you can right click on the project and go to BridgePoint Utilities -> Add Model Compilers.
November 9, 2023 at 10:43 am #7726Schmill
ParticipantPerfect, Thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.