Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 8596

For questions pertaining to compiling C programs on the Raspberry Pi.

3 votes
1 answer
3k views

GPIO in kernel module: alternative to gpio_set_value

http://elinux.org/RPi_Low-level_peripherals#C Do you have any idea about how to use this code in a kernel module? Thnaks in advance. …
Flavio Barisi's user avatar
9 votes
5 answers
20k views

GPIO Interrupt debounce

I was following this guide, Raspberry Pi GPIO interrupts in kernel space, to create a kernel module handling GPIO interrupt. The problem is that this code doesn't have software debounce implemented. …
Flavio Barisi's user avatar
0 votes
2 answers
2k views

Kernel module assembly output

I compiled the kernel modules written in C directly on my Raspberry Pi using this Makefile: obj-m := HelloWorld.o all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: … $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean I was wondering how to get the compiler to output the assembly source code. …
Flavio Barisi's user avatar