Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5afb2086fcefead18b52e94aadf691ab00da557d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="iso-8859-1" ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
<html xmlns="http://www.w3.org/1999/xhtml"  
> 
<head><title>Create a new model from scratch</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
<!-- xhtml,3,next,html --> 
<meta name="src" content="etrice-doc.tex" /> 
<<<<<<< Upstream, based on branch 'master' of ssh://hrentzreich@git.eclipse.org:29418/etrice/org.eclipse.etrice.git
<meta name="date" content="2013-06-14 00:07:00" /> 
=======
<meta name="date" content="2013-06-14 08:45:00" /> 
>>>>>>> 1fbdb27 [doc] fixed problem with colored eTrice in headings
<link rel="stylesheet" type="text/css" href="etrice-doc.css" /> 
</head><body 
>
<!--l. 22--><div class="crosslinks"><p class="noindent">[<a 
href="etrice-docse43.html" >next</a>] [<a 
href="etrice-docse41.html" >prev</a>] [<a 
href="etrice-docse41.html#tailetrice-docse41.html" >prev-tail</a>] [<a 
href="#tailetrice-docse42.html">tail</a>] [<a 
href="etrice-docch9.html#etrice-docse42.html" >up</a>] </p></div>
<h3 class="sectionHead"><span class="titlemark">9.2   </span> <a 
 id="x53-750009.2"></a>Create a new model from scratch</h3>
<!--l. 24--><p class="noindent" >Remember the following steps from the previous tutorials: </p>
     <ul class="itemize1">
     <li class="itemize">select the <span 
class="ec-lmsso-10">C/C++ </span>perspective
     </li>
     <li class="itemize">From the main menue select <span 
class="ec-lmsso-10">File-&#x003E;New-&#x003E;C Project</span>
     </li>
     <li class="itemize">Name the project <span 
class="ec-lmsso-10">RemoveComment</span>
     </li>
     <li class="itemize">Project type is <span 
class="ec-lmsso-10">Executable / Empty C Project</span>
     </li>
     <li class="itemize">Toolchain is <span 
class="ec-lmsso-10">MinGW</span>
     </li>
     <li class="itemize">Add the folder <span 
class="ec-lmsso-10">model</span>
     </li>
     <li class="itemize">Add the model file and name it <span 
class="ec-lmsso-10">RemoveComment.room</span>
     </li>
     <li class="itemize">Add the Xtext nature.</li></ul>
<!--l. 36--><p class="noindent" >The workspace should look like this:
</p><!--l. 38--><p class="noindent" ><img 
src="images/036-RemoveCommentC01.png" alt="PIC"  
 />
</p><!--l. 41--><p class="noindent" >Create a launch configuration for the C generator and add the include path and library as described in
<span 
class="ec-lmsso-10">HelloWorldC</span>.
</p><!--l. 44--><p class="noindent" >The workspace should look like this:
</p><!--l. 46--><p class="noindent" ><img 
src="images/036-RemoveCommentC02.png" alt="PIC"  
 />
</p><!--l. 49--><p class="noindent" >Now the model is created and all settings for the code generator, compiler and linker are done.
                                                                                 
                                                                                 
</p>
<!--l. 52--><div class="crosslinks"><p class="noindent">[<a 
href="etrice-docse43.html" >next</a>] [<a 
href="etrice-docse41.html" >prev</a>] [<a 
href="etrice-docse41.html#tailetrice-docse41.html" >prev-tail</a>] [<a 
href="etrice-docse42.html" >front</a>] [<a 
href="etrice-docch9.html#etrice-docse42.html" >up</a>] </p></div>
<!--l. 52--><p class="noindent" ><a 
 id="tailetrice-docse42.html"></a> </p> 
</body></html> 

Back to the top