Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.PersonalTransport:LIN:-SNAPSHOT'
}
dependencies {
implementation("com.github.PersonalTransport:LIN:-SNAPSHOT")
}
<dependency>
<groupId>com.github.PersonalTransport</groupId>
<artifactId>LIN</artifactId>
<version>-SNAPSHOT</version>
</dependency>
libraryDependencies += "com.github.PersonalTransport" % "LIN" % "-SNAPSHOT"
:dependencies [[com.github.PersonalTransport/LIN "-SNAPSHOT"]]
LIN is a compiler (written in java) that will parse LIN Node capability and LIN description files and generate C source code that implements the LIN 2.2 spec for slave or master nodes.
Usage: LIN [options] source files...
Options:
-h, --help
Show help this message.
Default: false
-o, --output
Output directory.
Default: gen
* -t, --target
The target device.
* -i, --target-interface
The target device's interface.
-v, --version
Display compiler version information.
Default: false
LIN -t PIC24FJ64GB002 -i UART1 CEM.ncf