OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Alternative boards – RockiPi 4c plus

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #74461

    sb995
    Participant

    Hi! First of all thank you for this superlative work!
    I want to try OSPi but i have a RockPi 4c plus running Frigate NVR that I want to use. This is a good SBC with soldered eMMC module that I consider a big plus.
    Has anyone tried to use the HAT in this board? As I know, the GPIO layout seems compatible. For reference, here you can see the GPIO layout of the Rock4

    https://wiki.radxa.com/Rockpi4/hardware/gpio

    Attachments:
    #74464

    sb995
    Participant

    I noticed that the the comparison that i made is taken from the mapping assignment in WiringX library, so they are the same only if using this library i think, what interfacing library is used by OSPi firmware?

    https://wiringx.org/platforms/radxa/rock4.html

    #74468

    Ray
    Keymaster

    The ‘interfacing’ functions are in the gpio.cpp file:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/gpio.cpp#L185
    it uses direct read/write of system files. It’s also possible to use command line tools, like the ‘raspi-gpio’ command to implement most of these functions.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Alternative boards – RockiPi 4c plus