omartin2010 / ev3devtx2

EV3DEV on Jetson TX2
MIT License
1 stars 1 forks source link

``make modules`` currently fails to build ``brickpi3_leds`` module #2

Open alexdewar opened 5 years ago

alexdewar commented 5 years ago

Hi,

I've been trying to build BrickPi drivers for my TX2 as per your instructions, but am running into a compile error:

drivers/lego/brickpi3/brickpi3_leds.c: In function ‘devm_brickpi3_register_leds’:
drivers/lego/brickpi3/brickpi3_leds.c:85:13: error: ‘struct led_classdev’ has no member named ‘brightness_set_blocking’; did you mean ‘brightness_set_sync’?
  data->cdev.brightness_set_blocking = brickpi3_leds_brightness_set_blocking;
             ^~~~~~~~~~~~~~~~~~~~~~~
             brightness_set_sync
scripts/Makefile.build:261: recipe for target 'drivers/lego/brickpi3/brickpi3_leds.o' failed

Just wondering if you had any thoughts? I am trying to build the 4.4.38 kernel, using NVIDIA's sources.

omartin2010 commented 5 years ago

did you figure it out yet? I'm on 4.4.38 too... not sure what the problem might be.. I remember something had to do with the fact that there are no leds like on the lego brick on the tx2... it's been a few months. I'd reach to the author on gitter. They were super helpful...