Update 'README.md'
This commit is contained in:
parent
2635dff626
commit
77683ed02a
16
README.md
16
README.md
@ -26,7 +26,21 @@
|
|||||||
- CMake
|
- CMake
|
||||||
- 32-bit GNU RISC-V toolchain
|
- 32-bit GNU RISC-V toolchain
|
||||||
|
|
||||||
If your package manager does not provide the RISC-V GNU toolchain you can compile it from their [main repository](https://github.com/riscv-collab/riscv-gnu-toolchain) or for Windows you can download the [xPack pre-compiled binaries](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases).
|
> If your package manager does not provide the RISC-V GNU toolchain you can compile it from their [main repository](https://github.com/riscv-collab/riscv-gnu-toolchain) or for Windows you can download the [xPack pre-compiled binaries](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases).
|
||||||
|
|
||||||
|
### Docker enviroment
|
||||||
|
|
||||||
|
There is a docker enviroment image with all the dependencies already pre-installed.
|
||||||
|
For getting docker check their [installation instruction site](https://docs.docker.com/get-docker/).
|
||||||
|
> **Tip:** If you run into problems running docker make sure you have:
|
||||||
|
> - **WSL2** installed in case of Windows
|
||||||
|
> - **Secure Boot disabled** and **Virtualization enabled** in your BIOS settings
|
||||||
|
|
||||||
|
To set up the enviroment pull the image from the container registry and run it:
|
||||||
|
```
|
||||||
|
docker pull git.1159.cl/mario1159/rvscc
|
||||||
|
docker run -it git.1159.cl/mario1159/rvscc
|
||||||
|
```
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
To build the firmware that will be loaded in the instruction memory execute CMake in the `fw` directory specifying the RISC-V toolchain and build the recipe based in your selected generator (`make` in the following example).
|
To build the firmware that will be loaded in the instruction memory execute CMake in the `fw` directory specifying the RISC-V toolchain and build the recipe based in your selected generator (`make` in the following example).
|
||||||
|
Loading…
Reference in New Issue
Block a user