Home/Support/Support Forum/Clarification of previous message
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Clarification of previous message

0 votes
When I add the application gpio_test to the kernel configuration screen, it created in the folder build / apps / gpio_test of my project the following files: 1) "gpio_test.c" 2) "Makefile" 3) "gpio.h" but the module "gpio.c" doesn't add automatically as well so put it in the manual "Digi ConnectCore User's Guide for Command Line Tools".
The module "gpio.c" I created by: 1) make build_kernel 2) make kernel_modules and then putting the kernel image to the board. And my modules are in the folder build / modules /gpio of my project. So I understand that my module "gpio.c" is generic of DIGI and yours is your own because you created with the application gpio_test.
But to me, why the module can not automatically create with the application?

Thank you very much LeonidM
asked Mar 1, 2010 in Linux by anagil New to the Community (2 points)
recategorized Dec 3, 2013 by tuxembb

Please log in or register to answer this question.

4 Answers

0 votes
gpio_test is user space application. gpio module is a kernel module - it is accessing resources that cannot be accessed from user space.
answered Mar 2, 2010 by LeonidM Veteran of the Digi Community (4,445 points)
0 votes
So how can I use the function irq_handler of module gpio.c told me to work with interruptions? Please help me.

Thank you very much LeonidM
answered Mar 3, 2010 by anagil New to the Community (2 points)
0 votes
yes, you should be able to use it. just remember it is ISR so no printfs or anything using interrupts and it has to be short.
answered Mar 3, 2010 by LeonidM Veteran of the Digi Community (4,445 points)
0 votes
I don't understand anything, sorry. You can explain me in more detail?

Thank you very much LeonidM
answered Mar 3, 2010 by anagil New to the Community (2 points)
...