1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2025-04-21 12:27:27 +03:00

f32x: added support for the c2ben adapter

- f32x/c2-ben.c: bitbang wrapper for the c2ben board
- f32x/Makefile: added "ben" target
- f32x/gpio-xburst.h, f32x/gpio-xburst.c: GPIO access primitives for XBurst
  CPUs
This commit is contained in:
Werner Almesberger
2010-10-21 19:38:54 -03:00
parent 80a0152663
commit bb600dada5
4 changed files with 171 additions and 1 deletions

View File

@@ -18,12 +18,16 @@ TARGET = om
endif
CC_om = arm-angstrom-linux-gnueabi-gcc
CC_ben = mipsel-openwrt-linux-gcc
CFLAGS_om = -O -DDRIVER=c2_om
CFLAGS_ben = -DDRIVER=c2_ben
LDFLAGS_om =
LDFLAGS_ben =
OBJS_om = c2-om.o gpio-s3c24xx.o rt.o
OBJS_ben = c2-ben.o gpio-xburst.o
NAME = f32x
CC = $(CC_$(TARGET))
@@ -56,9 +60,10 @@ include .depend
endif
c2-om.o: c2-bitbang.c
c2-ben.o: c2-bitbang.c
clean:
rm -f $(OBJS) $(OBJS_om) .depend
rm -f $(OBJS) $(OBJS_om) $(OBJS_ben) .depend
spotless: clean
rm -f $(NAME)