hifive1: Rename the layout file Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
diff --git a/.travis.yml b/.travis.yml index 9a91eaa..f5aa880 100644 --- a/.travis.yml +++ b/.travis.yml
@@ -47,6 +47,6 @@ script: - ./run_all_checks.sh # Run a QEMU instance of the HiFive1 app - - PLATFORM=riscv32 cargo rrv32imac --example hello_world - - timeout --foreground 10s qemu-system-riscv32 -M sifive_e -kernel ../tock/boards/hifive1/target/riscv32imac-unknown-none-elf/release/hifive1 -device loader,file=./target/riscv32imac-unknown-none-elf/tab/riscv32/hello_world/rv32imac.tbf,addr=0x20430000 -nographic | tee serial + - PLATFORM=hifive1 cargo rrv32imac --example hello_world + - timeout --foreground 10s qemu-system-riscv32 -M sifive_e -kernel ../tock/boards/hifive1/target/riscv32imac-unknown-none-elf/release/hifive1 -device loader,file=./target/riscv32imac-unknown-none-elf/tab/hifive1/hello_world/rv32imac.tbf,addr=0x20430000 -nographic | tee serial - grep "Hello Tock World" serial
diff --git a/boards/layout_riscv32.ld b/boards/layout_hifive1.ld similarity index 100% rename from boards/layout_riscv32.ld rename to boards/layout_hifive1.ld
diff --git a/build_examples.sh b/build_examples.sh index fd67b75..738523d 100755 --- a/build_examples.sh +++ b/build_examples.sh
@@ -4,4 +4,4 @@ PLATFORM=nrf52 cargo build --release --target=thumbv7em-none-eabi --examples PLATFORM=nrf52 cargo build --release --target=thumbv7em-none-eabi --examples --features=alloc -PLATFORM=riscv32 cargo build --release --target=riscv32imc-unknown-none-elf --examples # Important for testing: This target does not support atomics +PLATFORM=hifive1 cargo build --release --target=riscv32imc-unknown-none-elf --examples # Important for testing: This target does not support atomics
diff --git a/flash.sh b/flash.sh index b241a7a..7d20190 100755 --- a/flash.sh +++ b/flash.sh
@@ -16,7 +16,7 @@ binary_name=cortex-m4.elf tockload=y ;; - "riscv32") + "hifive1") tockloader_flags="" binary_name=rv32imac.elf tockload=n