Chadderz121 / csud

Chadderz's Simple USB Driver for Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to compile

Nvreformat opened this issue · comments

When I attempt to compile using "make driver config=FINAL type=LOWLEVEL target=RPI config=FINAL gnu=arm-none-eabi " I get the following:

make: *** No rule to make target 'build', needed by 'libcsud.a'. Stop.

Am I missing something? or is it just a misconfiguration?
Thanks in advance.

Turns out I had to create the folder "build" manually to be able to compile.

Sorry for the incoveniences.

Sorry for not getting back to you, I believe the build system should generate that directory automatically, so this is a bug. At least we have a workaround temporarily. What operating system are you running on? Also which version of make (run make --version to see).

I'm using Xubuntu 14.10 x64 and make 4.0

Not that it is really important, but there's a small typo in source/device/hid/keyboard.c where KeyboadGetKeyIsDown should be KeyboardGetKeyIsDown

By the way, is there any possibility of the driver getting saturated by calling it too much?
I've noticed this from the Baking Pi series, where sometimes (randomly) the screen goes off and it looks like the RPi just shut down.
When I started using the library in my kernel I noticed that it was happening in my kernel too.
Then I realised that if I added a small delay (say, 50ms) before calling functions like KeyboardPoll and UsbCheckForChange I could kinda prevent it.

I have the same problem.

Sorry for my english.