booster/comport.c | ●●●●● patch | view | raw | blame | history | |
booster/linux_list.h | ●●●●● patch | view | raw | blame | history | |
booster/list.h | ●●●●● patch | view | raw | blame | history | |
booster/makefile | ●●●●● patch | view | raw | blame | history | |
booster/test/gpio-scripts/pinctrl-igkboard | ●●●●● patch | view | raw | blame | history | |
booster/test/gpio-scripts/pinloop.sh | ●●●●● patch | view | raw | blame | history | |
booster/test/i2c_sht20.c | ●●●●● patch | view | raw | blame | history | |
booster/test/spidev_test.c | ●●●●● patch | view | raw | blame | history | |
booster/testcase/comport.c | patch | view | raw | blame | history | |
booster/testcase/logger.c | patch | view | raw | blame | history | |
booster/testcase/makefile | ●●●●● patch | view | raw | blame | history |
booster/comport.c
@@ -425,7 +425,7 @@ if( bytes >= buf_size ) break; /* try to read data in 1ms again, if no data arrive it will break */ /* try to read data in 10ms again, if no data arrive it will break */ to.tv_sec = 0; to.tv_usec = 10000; to_ptr = &to; booster/linux_list.h
File was deleted booster/list.h
@@ -16,7 +16,6 @@ #include <linux/stddef.h> /** * container_of - cast a member of a structure out to the containing structure * @ptr: the pointer to the member. booster/makefile
@@ -13,25 +13,23 @@ PWD=$(shell pwd ) BUILD_ARCH=$(shell uname -m) ifneq ($(findstring $(BUILD_ARCH), "x86_64" "i386"),) CROSS_COMPILE?=arm-linux-gnueabihf- endif #CROSS_COMPILE= #CROSS_COMPILE=arm-linux-gnueabihf- LIBNAME=$(shell basename ${PWD} ) TOPDIR=$(shell dirname ${PWD} ) CFLAGS+=-D_GNU_SOURCE all: clean @rm -f *.o @${CROSS_COMPILE}gcc ${CFLAGS} -I${TOPDIR} -c *.c @${CROSS_COMPILE}gcc ${CFLAGS} -c *.c ${CROSS_COMPILE}ar -rcs lib${LIBNAME}.a *.o clean: @rm -f *.o @rm -f *.a @rm -f *.o *.a test: make -C testcase CROSS_COMPILE=${CROSS_COMPILE} distclean: @make clean @make clean -C testcase .PHONY: clean test distclean booster/test/gpio-scripts/pinctrl-igkboard
File was deleted booster/test/gpio-scripts/pinloop.sh
File was deleted booster/test/i2c_sht20.c
File was deleted booster/test/spidev_test.c
File was deleted booster/testcase/comport.c
booster/testcase/logger.c
booster/testcase/makefile
File was renamed from booster/test/makefile @@ -13,28 +13,13 @@ #********************************************************************************/ PWD=$(shell pwd) LIB_PATH=$(shell dirname ${PWD}) LIB_NAME=$(shell basename ${LIB_PATH}) INSTPATH=/tftp #ARCH ?= i386 #ARCH?=arm926t ARCH?=arm920t #LINK_MODE=STATIC MODE=PRODUCTION DEBUG=1 INSTPATH=/tftp CROSS_COMPILE?=arm-linux-gnueabihf- CC=${CROSS_COMPILE}gcc export CC=${CROSS_COMPILE}gcc export CXX=${CROSS_COMPILE}g++ export AR=${CROSS_COMPILE}ar export AS=${CROSS_COMPILE}as export RANLIB=${CROSS_COMPILE}ranlib export STRIP=${CROSS_COMPILE}strip LIB_PATH=$(shell dirname ${PWD}) LIB_NAME=$(shell basename ${LIB_PATH}) SRCS = $(wildcard ${VPATH}/*.c) OBJS = $(patsubst %.c,%.o,$(SRCS))