diff options
| author | Sean Cross <[email protected]> | 2019-11-13 09:26:00 -0800 |
|---|---|---|
| committer | Sean Cross <[email protected]> | 2019-11-13 09:26:00 -0800 |
| commit | dce070ebe0ab95a8a87f5be2a0696ec58a749ab0 (patch) | |
| tree | 050a483f8a7bc8f1dc11f7cf9a5a1aa09b397189 /src | |
| parent | 737d437ab8d8159330cd4e08f639bd2cdac7d2f8 (diff) | |
examples: make: specify CROSS_COMPILE for fomu
When BOARD=fomu, use the riscv cross-compiler. Otherwise, use the
default arm compiler. This can be overridden by passing
CROSS_COMIPLE on the command line.
Note that there are now three common risc-v prefixes:
- riscv32-unknown-elf- : Common for users who compile their own
- riscv64-unknown-elf- : Upstream multiarch toolchain from SiFive
- riscv-none-embed- : xPack embedded version of SiFive toolchain
Here we assume users are using the `riscv-none-embed-` toolchain from
xPack, because it appears to be growing more common. Additionally,
there is much confusion surrounding `riscv64-unknown-elf-`, which
actually includes both 32- and 64-bit runtimes and can generate software
for both.
Signed-off-by: Sean Cross <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
