-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
69 lines (45 loc) · 1.65 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
############
# Tutorial #
############
The following tutorial files should serve as a fast and
easy application programming entry point. Most of them
are dedicated to a specific oscar framework module.
hello-world.c
-------------------------------------------------------
Configure the framework, take a picture and save it to
a file (hello-world.bmp).
alarm.c
-------------------------------------------------------
This application transforms the leanXcam into a simple
alarm system. If something moves in front of the camera
an alarm is raised (a GPIO pin is aktivated).
bmp.c
-------------------------------------------------------
Read and write bitmap files.
cam.c
-------------------------------------------------------
Camera configuration and multi buffer capturing.
cfg.c
-------------------------------------------------------
Read and write configuration files.
dma.c
-------------------------------------------------------
Configure and initiate dma transfers.
sup.c
-------------------------------------------------------
Watchdog and cycle count demonstration.
-------------------------------------------------------
Compile and run!
-------------------------------------------------------
1. Configure the oscar framework path:
-> make get
2. Compile everything:
-> make
2. Compile a specific example for the target platform:
-> make <sample name>_target
<sample name> is the file name without its type identifier.
2. Compile a specific example for the host platform:
-> make <sample name>_host
The executables and other required files are
automatically copied to /tftpboot.
3. Download them to the device and start playing.