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

Add experimental toolchain #70

Open
peardox opened this issue Sep 3, 2024 · 1 comment
Open

Add experimental toolchain #70

peardox opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@peardox
Copy link

peardox commented Sep 3, 2024

I've built a functional toolchain for Win64 / Pico 2 / RiscV-Hazard as per Wren6991/Hazard3#16

The toolchain tests out fine and I can build a uf2 and stick it on a Pico 2 but it'd be 'smoother' if we could add our own toolchains to the extension

I had a look around the extension but adding something like....

[RISCV_HAZARD3_SEP_24]
win32_x64 = https://peardox.com/pico/gcc14-no-zcmp-no-multilib.zip

To supportedToolchains.ini and setting my toolchain to RISCV_HAZARD3_SEP_24 failed to download my build

I also tried changing "riscvToolchain": "RISCV_COREV_MAY_24" to suit in versionBundles.json

Manually installing the experimental toolchain then building a RiscV project and manually altering and building via msys/mingw64 did, however, work OK and produced functional results.

@will-v-pi
Copy link
Collaborator

I think this is not a priority, as if you're able to compile a custom toolchain on Windows then you're probably able to manually set up your Pico SDK environment. But we might look into adding the option to select a custom toolchain path in the future.

Although I'd be happy to take any suggestions on how to build a Risc-V toolchain on Windows in the raspberrypi/pico-sdk-tools repo - currently I'm taking a prebuilt toolchain from elsewhere, and copying in a multilib built on MacOS which has been compiled with all the relevant extensions. If you have a way to build natively on Windows then I could try switching to that - I had issues with texinfo when I tried it myself

@will-v-pi will-v-pi added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants