{"id":419,"date":"2021-07-07T19:36:37","date_gmt":"2021-07-07T19:36:37","guid":{"rendered":"https:\/\/andrejacobs.org\/?p=419"},"modified":"2022-04-11T20:22:59","modified_gmt":"2022-04-11T20:22:59","slug":"develop-and-debug-raspberry-pi-pico-on-macos-big-sur","status":"publish","type":"post","link":"https:\/\/andrejacobs.org\/electronics\/develop-and-debug-raspberry-pi-pico-on-macos-big-sur\/","title":{"rendered":"Develop and Debug Raspberry Pi Pico on macOS Big Sur"},"content":{"rendered":"\n

I ❤️ the Raspberry Pi Pico and think this is the best microcontroller since the AVR! My history with microcontrollers go back to the late 90s using PIC16s followed by AVR ATtiny\/mega (Arduino etc.) as I dabble with Electronics from time to time.<\/p>\n

I don’t think it has ever been this easy to use a microcontroller as it is with the Raspberry Pi Pico. Trust me back in the late 90s you had to etch your own PCB and build a PIC programmer if you were on a budget. Now for \u00a33 you can buy an incredibly powerful microcontroller and program it just by plugging it into a USB port. 🤯<\/p>\n

In this guide I will show you how I have setup my Mac running macOS Big Sur and is able to build and debug C\/C++ code on a Raspberry Pi Pico. The reference material I used can be found at the bottom of this guide.<\/p>\n

Installing the Toolchain<\/h2>\n

I prefer to use homebrew<\/a> as my package manager on macOS, doesn’t everyone nowadays?<\/p>\n