You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
609 B
16 lines
609 B
{ }: |
|
let |
|
pkgs = import <nixpkgs> { overlays = [ (import ./overlay.nix) ]; }; |
|
hx = import ./default.nix { inherit pkgs; }; |
|
in |
|
pkgs.mkShell { |
|
buildInputs = [ |
|
hx.binutils-riscv32 hx.binutils-riscv64 hx.gcc-riscv32 hx.gcc-riscv64 pkgs.rustc pkgs.cargo hx.rust-riscv32i-crates |
|
(pkgs.python3.withPackages(ps: [hx.nmigen hx.nmigen-boards hx.heavycomps hx.minerva])) |
|
pkgs.yosys |
|
pkgs.nextpnr |
|
pkgs.trellis |
|
pkgs.openocd |
|
]; |
|
RUSTFLAGS="-L ${hx.rust-riscv32i-crates}/lib/rustlib/riscv32i-unknown-none-elf/lib -C linker=riscv32-unknown-elf-ld -C link-arg=-Tlink.x"; |
|
}
|
|
|