From: Tim 'mithro' Ansell Date: Sun, 4 Mar 2018 00:19:47 +0000 (-0800) Subject: Adding conda environment example. X-Git-Tag: 24jan2021_ls180~1724^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=795e82858f45ab2f53d250e62814d9d0c907cd11;p=litex.git Adding conda environment example. This is a very light weight way of doing something similar to the litex-buildenv. --- 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