luigif/hcsr04

/sys/devices/bone_capemgr.9/slots: Directory nonexistent

FMN2021 opened this issue · 1 comments

Hello,

Please I have the same problem I get the following error when I run make install command
bin/sh: 1: cannot create /sys/devices/bone_capemgr.9/slots: Directory nonexistent
And I tried the change on /boot/uEnv.txt file solution, but the problem is not solved
I tried also to run ./hcsr04 command and I get the following errors

>> Initializing PRU
>> PRU open failed

PLease is there any other solution?

debian@beaglebone:~/hcsr04-master$ make install
cp hcsr04-00A0.dtbo /lib/firmware
echo hcsr04 > /sys/devices/bone_capemgr.9/slots
/bin/sh: 1: cannot create /sys/devices/bone_capemgr.9/slots: Directory nonexistent
Makefile:25: recipe for target 'install' failed
make: *** [install] Error 2

Originally posted by @FMN2021 in #3 (comment)

Any update on this ?