Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coprocessor warnings when building for RISCV #533

Closed
lurch opened this issue Aug 27, 2024 · 2 comments
Closed

Coprocessor warnings when building for RISCV #533

lurch opened this issue Aug 27, 2024 · 2 comments

Comments

@lurch
Copy link
Contributor

lurch commented Aug 27, 2024

If I try building pico-examples for rp2350-riscv then I get this build warning:

[540/738] Linking CXX executable scanvideo/hscroll_dma_tiles/hscroll_dma_tiles.elf
WARNING: Instruction mrc 0, #7, r8, c7, c15, #0 is not supported by GPIO Coprocessor
WARNING: Instruction mrc 0, #7, r8, c7, c15, #0 is not supported by GPIO Coprocessor
WARNING: Instruction mrc 0, #7, r8, c7, c15, #0 is not supported by GPIO Coprocessor
[655/738] Linking CXX executable scanvideo/mario_tiles/mario_tiles.elf
WARNING: Instruction mrc 0, #7, r8, c7, c15, #0 is not supported by GPIO Coprocessor
WARNING: Instruction mrc 0, #7, r8, c7, c15, #0 is not supported by GPIO Coprocessor
WARNING: Instruction mrc 0, #7, r8, c7, c15, #0 is not supported by GPIO Coprocessor
[738/738] Linking CXX executable stdio/pio/stdio_pio.elf

(and I'm afraid I've got no idea what it means or how significant it is!)

@will-v-pi
Copy link
Contributor

Those are warnings from picotool coprodis - looks like coprocessor dissassembly is running on Risc-V binaries, when it should only be running on RP2350 Arm binaries - I'll push a PR to the SDK to fix this, but you can ignore those warnings for now

@lurch
Copy link
Contributor Author

lurch commented Aug 27, 2024

I'll close this then, in light of raspberrypi/pico-sdk#1875 👍

@lurch lurch closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@lurch @will-v-pi and others