Before executing any code from this repository, you need to download pico's SDK and - if you will work with RTOS - FreeRTOS on your machine.
Follow this tutorial, it worked for me: https://embeddedcomputing.com/technology/open-source/linux-freertos-related/using-freertos-with-the-raspberry-pi-pico