Giter Site home page Giter Site logo

goshik92 / xr21b1411-rs-485-driver Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 3.0 26 KB

XR21B1411 (B1411) driver for Orange Pi Zero with forced RS-485 mode

Makefile 0.33% C 99.67%
rs-485 xr21b1411 orange-pi driver armbian linux b1411 orangepi raspberry-pi raspberrypi

xr21b1411-rs-485-driver's Introduction

XR21B1411 driver for Orange Pi Zero with forced RS-485 mode

This driver is based on the original driver from Exar (version 1A for Linux 2.6.18 to 3.4.x). Two amendments were made to the original version:

  • RS-485 mode was forced
  • The following compilation errors were fixed:
xr_usb_serial_common.c: In function ‘xr_usb_serial_init’:
xr_usb_serial_common.c:1565:18: error: implicit declaration of function ‘usb_serial_register’ [-Werror=implicit-function-declaration]
         retval = usb_serial_register(&xr_usb_serial_device);
                  ^
xr_usb_serial_common.c:1579:9: error: implicit declaration of function ‘usb_serial_deregister’ [-Werror=implicit-function-declaration]
         usb_serial_deregister(&xr_usb_serial_device);
         ^

If you do not need the RS-485 mode, checkout RS-232 branch.

The driver was tested with Armbian 5.25.

To build and install the driver follow README.txt.

xr21b1411-rs-485-driver's People

Contributors

goshik92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.