brew install cmake brew install --cask gcc-arm-embedded git clone -b master https://github.com/raspberrypi/pico-sdk.git cd pico-sdk git submodule update --init
Next, copy the path and export it as PICO_SDK_PATH environment variable in your ~/.bash_profile
cd .. git clone -b master https://github.com/raspberrypi/pico-examples.git
Enter blink dir:
cmake -G "Unix Makefiles" .. make cd blink/
making sure that you hold down the BOOTSEL button as you do so, to force it into USB Mass Storage Mode.