-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
43 lines (34 loc) · 1010 Bytes
/
README
File metadata and controls
43 lines (34 loc) · 1010 Bytes
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
AVR module: A simple bargraph using LEDs attached to atmega ports
================================================================================
A submodule used in other projects. Currently cmake is used to build a library
of the module. The path structure within the project should be as follows.
The includes are looked for in the subdirectory "config" and "util" at the same
level as the module.
Environment:
------------
<some project path>
:
|
+- config
| |
| +- bar_config.h
|
+- bar
| |
| +- <submodule sources>
|
+- util
|
+- <submodule util files>
Use the following git commands to get the submodule:
# to get the submodule
git submodule add git@github.com:mkleemann/bar.git <path/to/bar/module>
# commit the submodule to your repository
git commit
# update your submodule, when needs be
git submodule update
To use the submodule, you may make use of the cmake-avr toolchain. The
project has to define the include search path at the parent directory
of the module.
Have fun!
M.