grblHAL / RP2040

grblHAL driver for RP2040 (Pi Pico)
Other
103 stars 44 forks source link

RP2040 Zero #62

Closed Juank23 closed 1 year ago

Juank23 commented 1 year ago

Good morning, my friend I acquired a pico zero a few days ago and I generated the binary through the Web Builder page, and it works but the pins are different to the ones that my board has, I downloaded the code for vscode but I have not been able to compile it, thanks for your help. RP2040-Zero

terjeio commented 1 year ago

That was not much information for me to be able to suggest a solution. Perhaps this search might help?

Juank23 commented 1 year ago

thanks for your ptonta respusta, it is necessary to install something to the vscode so that it can compile the firmware for the pico zero.... vscode

terjeio commented 1 year ago

it is necessary to install something to the vscode so that it can compile the firmware for the pico zero....

Yes, a toolchain and the SDK has to be installed, follow the link in the readme. And there are relevant links in the search I provided above.

andrewmarles commented 1 year ago

Under windows I have found this script to work well:

https://github.com/raspberrypi/pico-setup-windows

Juank23 commented 1 year ago

good day, I tried all the steps but it still doesn't work, is there any way to change the pinout for my pico Zero I remain attentive thank you.....

terjeio commented 1 year ago

Create a file name _my_machinemap.h with the pin map in the same directory as the other maps (I would start with a copy of generic_map.h) and edit it to suit your requirements, then enable it by uncommenting this line before compiling.

Juank23 commented 1 year ago

after a few days I managed to compile the code, thank you very much for your excellent work.

terjeio commented 1 year ago

Good to hear that, have fun with your machine!