Skip to content

Latest commit

 

History

History

Java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Java Demo Application for IAR Visual State

IAR Visual State can generate code using the Java language.

Pre-requisites

Build the application

IAR Visual State

The Visual State project is set to generate C code (with C-SPY Link support) by default.

  1. Go to ProjectOptionsCode generation... (Alt+F9).
  2. In the Configuration tab, de-select Generate for C-SPYLink and, instead, select Java code generation.
  3. Press OK to close the window.
  4. Go to ProjectCode generate (F9).

Note The generated code can be found on the local repository root directory, under the VS_coder folder.

Eclipse for Java Developers

  1. Launch a new workspace located on the repository's root directory (/path/to/visual-state-demo).
  2. Go to FileImportGeneralExisting projects into Workspace.
  3. Browse to select the visual-state-demo folder as root directory.
  4. Make sure the VisualState_Demo project is selected and Finish .
  5. Close the Eclipse Welcome Screen and, in the Package Explorer select the VisualState_Demo project.
  6. In the main menu, select RunRun as...Java Application (Alt+Shift+X,J).

image