全志平台摄像头测试程序

时间:2021-01-06 19:39:38

文件网盘下载地址:链接: http://pan.baidu.com/s/1i3qr5ZZ 密码: wsvw







file 1,->  readme 

#config for gcc   
如果指定arm-linux-gnueabi-gcc的路径,例如下面
CC := /home/dou/a10/a20/A20-420-V12/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc
#或者已安装arm-none-linux-gnueabi-gcc,使用下面
#CC := arm-none-linux-gnueabi-gcc
TARGET := ov5640_test

.PHONY: all clean


all: $(TARGET)

app_test:ov5640_test.c
$(CC) $(CFLAGS) -static $^ -o $@

clean:
rm -rf $(TARGET)

file 1,->  makefile


#config for gcc   

CC := /home/dou/a10/a20/A20-420-V12/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc
# or:
#CC := arm-none-linux-gnueabi-gcc
TARGET := ov5640_test

.PHONY: all clean


all: $(TARGET)

app_test:ov5640_test.c
$(CC) $(CFLAGS) -static $^ -o $@

clean:
rm -rf $(TARGET)