gpio leds for rx/tx/err on Rpi2b not being set in /sys/class/gpio



  • Hi,
    Configured my Rpi2B with the following:-
    ./configure --my-transport=rf24 --my-gateway=ethernet --my-port=5003 --my-rf24-irq-pin=15 --my-leds-err-pin=12 --my-leds-rx-pin=16 --my-leds-tx-pin=18

    which results in:-[SECTION] Detecting target machine.
    [OK] machine detected: SoC=BCM2836, Type=rpi2, CPU=armv7l.
    [SECTION] Detecting SPI driver.
    [OK] SPI driver detected:BCM.
    [SECTION] Gateway configuration.
    [OK] Type: ethernet.
    [OK] Transport: rf24.
    [OK] Signing: Disabled.
    [OK] Encryption: Disabled.
    [OK] CPPFLAGS: -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_DEFAULT_TX_LED_PIN=18 -DMY_DEFAULT_RX_LED_PIN=16 -DMY_DEFAULT_ERR_LED_PIN=12 -DMY_RX_MESSAGE_BUFFER_FEATURE -DMY_RF24_IRQ_PIN=15 -DMY_PORT=5003
    [SECTION] Detecting init system.
    [OK] Init system detected: systemd.
    [SECTION] Saving configuration.
    [OK] Saved.
    [SECTION] Cleaning previous builds.
    [OK] Finished.

    This I assume, because not quite clear on the gateway page, will blink rx and tx on rf24 receive and xmit. However, it does not appear to work. When I look in /sys/class/gpio only 22 is enabled but as input. Been looking through the code and can't quite following the trail to the gpio enablement.

    Have I assumed correctly?

    Cheers,

    Michael


Log in to reply
 

Suggested Topics

  • 33
  • 8
  • 11
  • 2
  • 3
  • 17

54
Online

11.4k
Users

11.1k
Topics

112.6k
Posts