Skip to content

Commit

Permalink
Merge pull request #65410 from jaykru/master
Browse files Browse the repository at this point in the history
Add RISC-V embedded crossSystems
  • Loading branch information
Ericson2314 committed Jul 26, 2019
2 parents 7a85636 + e931a52 commit 34919c3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/systems/doubles.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let

"riscv32-linux" "riscv64-linux"

"aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none"
"aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none" "riscv64-none" "riscv32-none"
];

allParsed = map parse.mkSystemFromString all;
Expand Down
12 changes: 12 additions & 0 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ rec {
riscv64 = riscv "64";
riscv32 = riscv "32";

riscv64-embedded = {
config = "riscv64-none-elf";
libc = "newlib";
platform = platforms.riscv-multiplatform "64";
};

riscv32-embedded = {
config = "riscv32-none-elf";
libc = "newlib";
platform = platforms.riscv-multiplatform "32";
};

msp430 = {
config = "msp430-elf";
libc = "newlib";
Expand Down

0 comments on commit 34919c3

Please sign in to comment.