From 795e82858f45ab2f53d250e62814d9d0c907cd11 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sat, 3 Mar 2018 16:19:47 -0800 Subject: [PATCH] Adding conda environment example. This is a very light weight way of doing something similar to the litex-buildenv. --- README | 19 ++++++++++++++++++- environment.yml | 13 +++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 environment.yml diff --git a/README b/README index 02fdb5f5..1f8e4ca4 100644 --- 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 index 00000000..262e56bd --- /dev/null +++ b/environment.yml @@ -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 -- 2.30.2