Quarkus - Java Embedded Framework

Describe what the extension does here.

Installation

Before installation of Quarkus extension you need to prepare your Raspberry Pi.

If you not expert in embedded development theory can be helpful

If you want to use this extension in your projects, you need to add the io.quarkiverse.jef:quarkus-java-embedded-framework extension first. In your pom.xml file, add:

<dependency>
    <groupId>io.quarkiverse.jef</groupId>
    <artifactId>quarkus-java-embedded-framework</artifactId>
</dependency>

Extension Configuration Reference

Serial Bus

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Enable or disable serial bus

boolean

false

Path to serial or USB bus like /dev/serial1 or /dev/dev/ttyUSB0

string

Set serial bus speed to one of values described in SerialBaudRate class

enum

B9600

SPI Bus

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Enable or disable SPI bus

boolean

false

Path to SPI bus like /dev/spidev0.0

string

SPI bus speed. Please check your vendor CPU documentation for acceptable values

integer

500000

SPI_MODE_0 SPI_MODE_1 SPI_MODE_3 SPI_MODE_4

SPI_MODE_1

Word length for byte in bus

enum

8

Bits ordering for bus

BIG_ENDIAN LITTLE_ENDIAN

BIG_ENDIAN

I2C Bus

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Enable or disable I2C bus

boolean

false

Path to I2C bus like /dev/i2c-0

string

Describe is I2C 7 bits or 10 bits bus. Please check with CPU vendor documentation.

boolean

false

Amount of retries in bus. Default is not set and using default vendor value

integer

-1

Timeout in bus. Default is not set and using default vendor value.

integer

-1

GPIO

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Enable or disable GPIOs

boolean

false

Path to GPIO like /dev/gpiochip0

string

OneWire

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Enable or disable One Wire bus

boolean

false

Path to GPIO like /sys/bus/w1/devices/28-01203882217a/w1_slave

string