Home

Awesome

LIN

Introduction

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.

Download

Install

Windows

Unix

Supported Targets

Dependencies

Usage

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

Examples

Generate a master node from a LIN Node capability file.
</br> ##### Generate a slave node from a LIN Node capability file. ##### - ```LIN -t PIC24FJ32GB002 -i UART1 LSM.ncf``` - This will generate two files gen/LSM.h and gen/LSM.c that targets the PIC24FJ32GB002 and uses the first UART module, you will include these files in your slave node project.