README.md: update RISCV toolchain installation.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 7 Apr 2020 10:39:52 +0000 (12:39 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 7 Apr 2020 10:39:52 +0000 (12:39 +0200)
README.md

index 19e2468b935fcffaff3aa4bb39ffb17e4060d198..b80b0ea041f1ef22c9f09db51491f6522b8a872d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -113,22 +113,9 @@ $ ./litex_setup.py update
 > **Note:** On Windows, it's possible you'll have to set `SHELL` environment variable to `SHELL=cmd.exe`.
 
 3. Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU):
-
-On Linux (Ubuntu):
-```sh
-$ wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
-$ tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
-$ export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
-```
-On MacOS:
 ```sh
-$ wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin.tar.gz
-$ tar -xvf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin.tar.gz
-$ export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin/bin/
+$ ./litex_setup.py gcc
 ```
-On Windows:
-
-You can Get and install the RISC-V toolchain from https://gnutoolchains.com/risc-v/.
 
 4. Build the target of your board...: