Adding conda environment example.
authorTim 'mithro' Ansell <me@mith.ro>
Sun, 4 Mar 2018 00:19:47 +0000 (16:19 -0800)
committerTim 'mithro' Ansell <me@mith.ro>
Sun, 4 Mar 2018 00:30:09 +0000 (16:30 -0800)
This is a very light weight way of doing something similar to the
litex-buildenv.

README
environment.yml [new file with mode: 0644]

diff --git a/README b/README
index 02fdb5f59ff9d52dbd1328129d56f21d6346b71e..1f8e4ca42e3733f5c439c543844fc3348c52d8dc 100644 (file)
--- a/README
+++ b/README
@@ -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
\ No newline at end of file
+E-mail: florent [AT] enjoy-digital.fr
diff --git a/environment.yml b/environment.yml
new file mode 100644 (file)
index 0000000..262e56b
--- /dev/null
@@ -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