Skip to content

Error building quick-start example for RISC-V #5

@crustafari

Description

@crustafari

Greetings! I tried to build the quick-start example for RISC-V [1] but got this error, please advise:

$ cargo build --target=riscv32imac-unknown-none-elf

error: `panic-probe` only supports Cortex-M targets (thumbvN-none-eabi[hf])
  --> /home/xx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/panic-probe-0.3.2/src/lib.rs:24:1
   |
24 | compile_error!("`panic-probe` only supports Cortex-M targets (thumbvN-none-eabi[hf])");
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `panic-probe` (lib) due to 1 previous error

[1] https://github.com/ImplFerris/pico-pico/blob/main/src/running.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions