Gateway using Odroid-N2 via 40pin->SPI



  • Hello,

    I've made necessary changes to MySensors 2.4.0-alpha in order to work on Odroid-N2 SBC running Ubuntu 21.04 with 5.13.0 kernel
    Library would have worked if every reference to pin number was at least uint16_t (not uint8_t, like it is). That's because Odroid-N2 have >2^8 pin numbering, and GPIO ranges in 460-490 decimal.

    I've made my fork@github and pushed odroid-n2 required changes version.
    Using polling (non-IRQ) mysgw drains 1.0% cpu time.
    Still waiting for interrupt issues to resolve with HK team - hopefully soon.

    Github repo @ https://github.com/Gobol/MySensors



  • Hello,
    i plan to replace RPI 3B and use odroid n2 also via 40 pin SPI bus. Is your library working? Thanks for your work.



  • @Norton yep, it works in polling mode (~1% of cpu).


Log in to reply
 

Suggested Topics

2
Online

10.3k
Users

10.7k
Topics

109.5k
Posts