Skip to content

Commit

Permalink
add README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Gilles DOFFE <[email protected]>
  • Loading branch information
gdoffe committed Jan 4, 2022
1 parent 15ea695 commit 147af98
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
## Pre-requisites ##

This documentation supports Ubuntu 20.04 LTS version.
However command listed below should work with any recent debian-like Linux
distribution.

### git ###

From https://git-scm.com/:
Git is a free and open source distributed version control system designed to
handle everything from small to very large projects with speed and efficiency.

To install git:

```bash
$ sudo apt install git
```

For more informations: https://git-scm.com/

### repo ###

From https://gerrit.googlesource.com/git-repo/:
Repo is a tool built on top of Git. Repo helps manage many Git repositories,
does the uploads to revision control systems, and automates parts of the
development workflow. Repo is not meant to replace Git, only to make it easier
to work with Git. The repo command is an executable Python script that you can
put anywhere in yoaur path.

To install repo:

```bash
$ mkdir ~/.bin
$ echo "PATH=~/.bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
```

For more informations: https://gerrit.googlesource.com/git-repo/+/refs/heads/master/README.md

## Get the project ##

### Full project ###

To get the COGIP full source tree :

```bash
$ mkdir cogip/ -p && cd cogip/
$ repo init -u [email protected]:cogip/cogip-manifest.git -m cogip-manifest.xml
$ repo sync
```

#### yocto-build project ####

The yocto-build project is the Yocto linux distribution installed on robot
MPU board.

Refer to `cogip/yocto-build/README.md` for more information.

To get the COGIP pi project source tree only:

```bash
$ mkdir cogip/ -p && cd cogip/
$ repo init -u [email protected]:cogip/cogip-manifest.git -m cogip-pi.xml
$ repo sync
$ cd yocto-build/
```

#### mcu-firmware project ####

The mcu-firmware project is the firmware flashed on robot MCU board.

To get the COGIP mcu-firmware project source tree only:

```bash
$ mkdir cogip/ -p && cd cogip/
$ repo init -u [email protected]:cogip/cogip-manifest.git -m cogip-mcu-firmware.xml
$ repo sync
$ cd mcu-firmware/
```

Refer to `cogip/mcu-firmware/README.md` for more information.

#### simulation project ####

The simulation project is the source code of simulator and co-pilot application.


To get the COGIP mcu-firmware project source tree only:

```bash
$ mkdir cogip/ -p && cd cogip/
$ repo init -u [email protected]:cogip/cogip-manifest.git -m cogip-simulation.xml
$ repo sync
$ cd simulation/
```

Refer to `cogip/simulation/README.md` or https://cogip.github.io/simulation for more information.

0 comments on commit 147af98

Please sign in to comment.