Adding conda environment example.

This is a very light weight way of doing something similar to the
litex-buildenv.
This commit is contained in:
Tim 'mithro' Ansell 2018-03-03 16:19:47 -08:00
parent ab2a3277c3
commit 795e82858f
2 changed files with 31 additions and 1 deletions

19
README
View File

@ -64,6 +64,23 @@ very easily!
Migen documentation can be found here: https://m-labs.hk/migen/manual
[> Medium Quick start guide with Conda
-----------------------------------------
0. Get miniconda by following instructions at https://conda.io/miniconda.html
1. Clone LiteX
git clone --recurse-submodules https://github.com/enjoy-digital/litex.git
2. Create a LiteX environment from environment.yml
conda env create -f environment.yml
3. Enter conda environment
conda activate litex
4. Build the target of your board...:
Go to boards/targets and execute the target you want to build
[> Quick start guide (for advanced users)
-----------------------------------------
@ -103,4 +120,4 @@ Migen documentation can be found here: https://m-labs.hk/migen/manual
[> Contact
----------
E-mail: florent [AT] enjoy-digital.fr
E-mail: florent [AT] enjoy-digital.fr

13
environment.yml Normal file
View File

@ -0,0 +1,13 @@
name: litex
channels:
- timvideos
dependencies:
- python=3.6
- pip
- binutils-lm32-elf
- gcc-lm32-elf-nostdc
- pip:
- git+https://github.com/m-labs/migen.git#egg=migen
- -e .
- git+https://github.com/enjoy-digital/liteeth.git#egg=liteeth
- git+https://github.com/enjoy-digital/litedram.git#egg=litedram