pimoroni / pimoroni-pico

Libraries and examples to support Pimoroni Pico add-ons in C++ and MicroPython.
https://shop.pimoroni.com/collections/pico
MIT License
1.32k stars 499 forks source link

pimoroni-pico examples fail to build - no file pico_arm_gcc.cmake #1012

Open ssotheremail opened 1 month ago

ssotheremail commented 1 month ago

I updated ~/pico/pico-sdk, ~/pico/pico-examples, and ~/pico/pimoroni-pico directories with git pull, submodule update, etc, go to build directory - cmake .. etc. I had working compiles for a display project with original pico before upgrading.

The pico examples were ok to compile and link, but cmake and make for pimoroni-pico/examples complained about pico-find-compiler and no file pico_arm_gcc.cmake.

As a quick workaround I copied pico_arm_cortex_m0plus_gcc.cmake to pico_arm.gcc.cmake in~/pico/pico-sdk/cmake/preload/toolchains and the project compiles and is working again. I don't want to waste someone's time with this if its a mistake I have made earlier, but I thought it worth a mention in case its not specific to me.