Skip to content

Commit 214607d

Browse files
authored
Merge pull request #6 from KirillSmirnov/master
Add webcam variants for all algorithms
2 parents 5fd3cf5 + c89703e commit 214607d

File tree

203 files changed

+13048
-4122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+13048
-4122
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
all:
2+
$(MAKE) -C trik/ov7670 $@
3+
$(MAKE) -C trik/webcam $@
4+
5+
clean:
6+
$(MAKE) -C trik/ov7670 $@
7+
$(MAKE) -C trik/webcam $@

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
Build
2-
=====
3-
4-
```
5-
make DEPOT_DSP=<path to TI tools>
1+
Build
2+
=====
3+
4+
To build the project do:
5+
```
6+
make DEPOT=<path to TI tools>
7+
```

common.mk

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# your various installation directories
2+
ifeq ($(DEPOT),)
3+
$(error DEPOT variable is not set)
4+
endif
5+
6+
BIOS_INSTALL_DIR = $(DEPOT)/bios_6_37_05_35
7+
CE_INSTALL_DIR = $(DEPOT)/codec_engine_3_23_00_07
8+
CG_INSTALL_DIR = $(DEPOT)/ti-cgt-c6000_8.0.1
9+
CMEM_INSTALL_DIR = $(DEPOT)/linuxutils_3_23_00_01
10+
FC_INSTALL_DIR = $(DEPOT)/framework_components_3_24_02_15
11+
IMGLIB_INSTALL_DIR = $(DEPOT)/c64plus-imglib_2_02_00_00
12+
IPC_INSTALL_DIR = $(DEPOT)/ipc_1_25_03_15
13+
LINK_INSTALL_DIR = $(DEPOT)/syslink_2_21_03_11
14+
OSAL_INSTALL_DIR = $(DEPOT)/osal_1_24_00_09
15+
VLIB_INSTALL_DIR = $(DEPOT)/vlib_c674x_3_1_0_9
16+
XDAIS_INSTALL_DIR = $(DEPOT)/xdais_7_24_00_04
17+
XDC_INSTALL_DIR = $(DEPOT)/xdctools_3_25_06_96
18+
19+
CGTOOLS_C674 = $(CG_INSTALL_DIR)
20+
#uncomment this for verbose builds
21+
#XDCOPTIONS=v
22+
XDCARGS = CGTOOLS_C674=\"$(CGTOOLS_C674)\"
23+
24+
THIS_PATH = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
25+
XDCPATH = $(CE_INSTALL_DIR)/packages;$(XDAIS_INSTALL_DIR)/packages;$(BIOS_INSTALL_DIR)/packages;$(LINK_INSTALL_DIR)/packages;$(IPC_INSTALL_DIR)/packages;$(FC_INSTALL_DIR)/packages;$(OSAL_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages;$(VLIB_INSTALL_DIR)/packages;$(IMGLIB_INSTALL_DIR);$(THIS_PATH)
26+
XDC = $(XDC_INSTALL_DIR)/xdc
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../trik/webcam/edge_line_sensor/dsp_server/bin/dsp_server.xe674

release/webcam/jpeg-encoder.xe674

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../trik/webcam/jpeg_encoder/dsp_server/bin/dsp_server.xe674

release/webcam/motion-sensor.xe674

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../trik/webcam/motion_sensor/dsp_server/bin/dsp_server.xe674

release/webcam/mxn-sensor.xe674

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../trik/webcam/mxn_sensor/dsp_server/bin/dsp_server.xe674

trik/ov7670/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ SUBDIRSCMD = $(patsubst %,%-$(CMD),$(SUBDIRS))
88

99
all: subdirs$(CMD)
1010

11-
1211
clean:
1312
$(MAKE) -C . CMD=clean
1413

trik/ov7670/common/dsp_server/link.cmd

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/*
2+
* Any additions to the generated linker-command files should be placed here
3+
*/
4+
-l @IMGLIB_INSTALL_DIR@/lib/target/imglib2_elf.lib --export=__c6xabi_divi --export=__c6xabi_remi

0 commit comments

Comments
 (0)