File tree 2 files changed +17
-3
lines changed 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ INSTALL COSA CUSTOM BOARDS
23
23
==========================
24
24
25
25
1. Download custom board support and install in sketchbook hardware
26
- directory.
26
+ directory. The command line build assumes that they are installed
27
+ with 1.0.X directory structure (i.e. without the avr level).
27
28
28
29
2. Add symbolic link in COSA_DIR/variants to custom board variants.
29
30
Example for Cosa-CustomBoard template.
30
31
$ ln -s $SKETCHBOOK/hardware/CustomBoard/variants/VENDOR $COSA_DIR/variants
31
32
32
- 3. Verify that the custom board is now available.
33
+ 3. Verify that the custom board is now available. The following
34
+ commands will generate and print the list of boards.
33
35
$ cd $COSA_DIR/build
34
36
$ cosa boards
Original file line number Diff line number Diff line change @@ -13,13 +13,25 @@ https://raw.githubusercontent.com/mikaelpatel/Cosa/master/package_cosa_index.jso
13
13
14
14
## Via GIT
15
15
16
+ For Arduino 1.0.X:
16
17
``` shell
17
18
cd < custom_path> /sketchbook
18
- mkdir hardware # Create the hardware folder if missing
19
+ mkdir hardware
19
20
cd hardware
20
21
git clone https://github.com/mikaelpatel/Cosa.git
21
22
```
22
23
24
+ For Arduino 1.5.x and higher an extra avr directory level is needed:
25
+ ``` shell
26
+ cd < custom_path> /sketchbook
27
+ mkdir hardware
28
+ cd hardware
29
+ mkdir Cosa
30
+ cd Cosa
31
+ git clone https://github.com/mikaelpatel/Cosa.git
32
+ mv Cosa avr
33
+ ```
34
+
23
35
Then you can update the library by using:
24
36
25
37
``` shell
You can’t perform that action at this time.
0 commit comments