Skip to content

eclipse-kura/kura-gpio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kura-gpio

Eclipse Kura™ GPIO addon

Eclipse Kura-GPIO

Eclipse Kura™ GPIO addon

Kura™ logo

Install

Eclipse Kura-GPIO™ is compatible with Java 21.

Target Installer

Eclipse Kura-GPIO™ provides an Eclipse Kura™ addon for managing GPIOs.

Documentation

Eclipse Kura-GPIO™ Documentation can be found at:

Build

Prerequisites

In order to be able to build Eclipse Kura™ GPIO on your development machine, you need to have the following programs installed in your system:

  • JDK 21
  • Maven 3.9.x

Installing Prerequisites in Mac OS

To install Java 21, download the JDK tar archive from the Adoptium Project Repository.

Once downloaded, copy the tar archive in /Library/Java/JavaVirtualMachines/ and cd into it. Unpack the archive with the following command:

sudo tar -xzf <archive-name>.tar.gz

The tar archive can be deleted afterwards.

Depending on which terminal you are using, edit the profiles (.zshrc, .profile, .bash_profile) to contain:

export JAVA_HOME=/Library/Java/JavaVirtualMachines/<archive-name>/Contents/Home

Reload the terminal and run java -version to make sure it is installed correctly.

Using Brew you can easily install Maven from the command line:

brew install maven@3.9

Run mvn -version to ensure that Maven has been added to the PATH. If Maven cannot be found, try running brew link maven@3.9 --force or manually add it to your path with:

export PATH="/usr/local/opt/maven@3.9/bin:$PATH"

Installing Prerequisites in Linux

For Java

sudo apt install openjdk-21-jdk

For Maven

You can follow the tutorial from the official Maven site. Remember that you need to install the 3.9.x version.

Build Eclipse Kura-GPIO™

Change to the new directory and clone the Eclipse Kura™ repo:

git clone https://github.com/eclipse-kura/kura-gpio.git

Move inside the newly created directory and build the project:

mvn clean install

Tip

You can skip tests by adding -Dmaven.test.skip=true in the command above.

About

Eclipse Kura™ GPIO addon

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors