Code Monkey home page Code Monkey logo

Comments (3)

aledomu avatar aledomu commented on June 10, 2024 1

The current recommended interface is exposed through /dev/gpiochip* character nodes.

from mysensors.

mfalkvidd avatar mfalkvidd commented on June 10, 2024

@aledomu thanks for reporting. Do you happen to know what the recommended replacement is?

from mysensors.

mfalkvidd avatar mfalkvidd commented on June 10, 2024

Looks like the spi_gpio kernel driver might be the way to go:

  • spi_gpio: drivers/spi/spi-gpio.c is used to drive an SPI bus (variable number
    of wires, at least SCK and optionally MISO, MOSI and chip select lines) using
    GPIO hammering (bitbang). It will appear as any other SPI bus on the system
    and makes it possible to connect drivers for SPI devices on the bus like
    any other SPI bus driver. For example any MMC/SD card can then be connected
    to this SPI by using the mmc_spi host from the MMC/SD card subsystem.

But I have no idea if this driver is available (and usable with normal user privileges) by default, nor how much work would be required to rewrite the MySensors code to use this driver.

from mysensors.

Related Issues (20)

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.