deep

a Cross Development Platform for Java

User Tools

Site Tools


first_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
first_example [2018/03/09 15:38] ursgraffirst_example [2018/09/28 16:31] ursgraf
Line 31: Line 31:
   
  // 3) Say hello to the world  // 3) Say hello to the world
- System.out.println("Helloworld");+ System.out.println("Hello world");
  }  }
 } }
Line 88: Line 88:
   
  // Print a string to the stdout  // Print a string to the stdout
- System.out.println("Hello, World");+ System.out.println("Hello world");
  }  }
 } }
 </code> </code>
  
-12. The project file will look like <code>project { +12. The project file will look like <code> 
- #deep-1+#deep-1
  
- meta { +meta { 
- version = "Mon Jan 05 12:40:12 CET 2015"; + version = "Mon Jan 05 12:40:12 CET 2015"; 
- description = "deep project file for HelloWorld"; + description = "deep project file for HelloWorld"; 
- }+}
  
- project HelloWorld { +project HelloWorld { 
- libpath = "I:\deep\lib"; + libpath = "I:\deep\lib"; 
- boardtype = phyCoreMpc5200io; + boardtype = phyCoreMpc5200io; 
- ostype = ntbSTS; + ostype = ntbSTS; 
- # programmertype = ;+# programmertype = ;
  
- # enter names of rootclasses, e.g. +# enter names of rootclasses, e.g. 
- # rootclasses = "test.MyFirstTestClass","other.MySecondTestClass"; +# rootclasses = "test.MyFirstTestClass","other.MySecondTestClass"; 
- rootclasses = "test.HelloWorld";+ rootclasses = "test.HelloWorld";
  
- imgfile = "M:\Workspace\HelloWorld\HelloWorld.bin"; + imgfile = "M:\Workspace\HelloWorld\HelloWorld.bin"; 
- imgformat = BIN; + imgformat = BIN; 
-+
-}</code>+</code>
  
 16. //Run// will compile, link and create the image file. Use an external debugging device such as an [[http://wiki.ntb.ch/infoportal/embedded_systems/abatron_bdi/start|Abatron BDI]] to download the program. 16. //Run// will compile, link and create the image file. Use an external debugging device such as an [[http://wiki.ntb.ch/infoportal/embedded_systems/abatron_bdi/start|Abatron BDI]] to download the program.