Skip to content

Commit 2f5a6b6

Browse files
committed
Add GitHub links for the repositories
1 parent 1e93f7e commit 2f5a6b6

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

docs/tock_workshop/index.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,14 @@ The command, subscribe, and allow system calls all take a driver ID as their fir
100100

101101
### Flashing the kernel
102102

103-
Initially, you will need to clone the Tock [repository](https://example.com). The configuration for the various boards supported can be found in the `boards` directory. To compile the kernel, you can use the `cargo flash` utility.
103+
Initially, you will need to clone the `Tock` repository:
104+
105+
```shell
106+
git clone https://github.com/OxidosAutomotive/tock.git --branch=psoc6-workshop
107+
cd tock
108+
```
109+
110+
The configuration for the various boards supported can be found in the `boards` directory. To compile the kernel, you can use the `cargo flash` utility.
104111

105112
```shell
106113
cd boards/cy8cproto_62_4343_w
@@ -129,7 +136,14 @@ $tock
129136

130137
### Compiling an application
131138

132-
For this task, you will have to clone the [`libtock-c`](https://example.com) repository first. Navigate to the `examples/blink` folder and take a look at the C application structure found in `main.c`. To compile the application, simply run `make`. This command will built the example applications for all target architectures supported by the library. Apps are compiled into TBFs (Tock Binary Format), and can be found in the `build/<arch>` sub-directories. Tock also generates an archive of the same app, compiled for multiple architectures, for ease of use and portability, called a TAB(Tock Application Bundle) which can be loaded using the `tockloader` utility.
139+
For this task, you will have to clone the `libtock-c` repository:
140+
141+
```shell
142+
git clone https://github.com/ipworkshop/libtock-c.git --branch=remove-risc
143+
cd libtock-c
144+
```
145+
146+
Navigate to the `examples/blink` folder and take a look at the C application structure found in `main.c`. To compile the application, simply run `make`. This command will built the example applications for all target architectures supported by the library. Apps are compiled into TBFs (Tock Binary Format), and can be found in the `build/<arch>` sub-directories. Tock also generates an archive of the same app, compiled for multiple architectures, for ease of use and portability, called a TAB(Tock Application Bundle) which can be loaded using the `tockloader` utility.
133147

134148
### Flashing the application
135149

0 commit comments

Comments
 (0)