Hi,

On Tue, Mar 12, 2013 at 5:29 AM, uMinded Strikes Again <[email protected]
> wrote:

> I need to write a low level gpio driver for HAL. I am using
> src/hal/drivers/hal_gpio.c (from the rasberry pi) as an example.
>
> I made a file called sun5i_gpio.c and did make in the src directory but it
> was not picked up. Do I need to add an entry into a makefile or
> config.infile for it to be included?
>
> You may refer to how "src/hal/components/stepgen.c" get built.
You have to edit "src/Makefile"; then, copy and modify the following lines:

obj-$(CONFIG_STEPGEN) += stepgen.o
stepgen-objs := hal/components/stepgen.o $(MATHSTUB)

-Yishin
-- 
ARAIS ROBOT TECHNOLOGY
www.araisrobo.com
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to