Skip to content

Commit

Permalink
README: fix submodule initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas authored and chrysn committed Sep 20, 2022
1 parent 5955c6f commit e0e2e40
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ cd applications
RIOTBASE="../RIOT" BOARD=samr21-xpro make -C sniffer flash
```

Alternatively, you can step into the submodule and check out the current master:
Alternatively you can use RIOT as a submodule. To initialize the submodule, from the
root of the repository run:

```sh
git submodule update --init --recursive
```

If you want to use master then simply step into the submodule and checkout master or
any other desired branch.

```sh
cd RIOT
Expand Down

0 comments on commit e0e2e40

Please sign in to comment.