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

Compiling RISC-V toolchain #7

Closed
Xelus22 opened this issue Jul 22, 2023 · 5 comments
Closed

Compiling RISC-V toolchain #7

Xelus22 opened this issue Jul 22, 2023 · 5 comments

Comments

@Xelus22
Copy link

Xelus22 commented Jul 22, 2023

Hi i am having an issue trying to compile HID_MOUSE example

image

I am using this.
https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack

I have also changed the toolchain prefix to
image

@Xelus22
Copy link
Author

Xelus22 commented Jul 22, 2023

Fixed by using the old compiler. This is a newer version of the riscv compiler. Anyone in future use the riscv-none-embed though it is deprecated.

@Xelus22 Xelus22 closed this as completed Jul 22, 2023
@Xelus22 Xelus22 reopened this Jul 23, 2023
@Xelus22
Copy link
Author

Xelus22 commented Jul 23, 2023

image

Cannot compile due to these issues

I am using this toolchain https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack

@sakumisu
Copy link
Contributor

No, you must use toolchain that wch provided.

@Xelus22
Copy link
Author

Xelus22 commented Jul 24, 2023

Thanks @sakumisu , now the issue is sleep_ms is undefined reference?

image

@sakumisu
Copy link
Contributor

Just delete.

@Xelus22 Xelus22 closed this as completed Jul 24, 2023
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

2 participants