Skip the GPIO 26-29 IE disable on non-RP2040 builds again A board header can set PICO_RP2040_B0_SUPPORTED even when building for RP2350 (the Bazel checks build rp2350 with PICO_BOARD=pico), which registered runtime_init_rp2040_gpio_ie_disable without its implementation.
diff --git a/src/rp2_common/pico_runtime_init/include/pico/runtime_init.h b/src/rp2_common/pico_runtime_init/include/pico/runtime_init.h index 1fb7eea..12b2d51 100644 --- a/src/rp2_common/pico_runtime_init/include/pico/runtime_init.h +++ b/src/rp2_common/pico_runtime_init/include/pico/runtime_init.h
@@ -273,7 +273,7 @@ #ifndef PICO_RUNTIME_SKIP_INIT_RP2040_GPIO_IE_DISABLE // only RP2040 B0 and B1 leave input enabled on GPIOs 26-29 after reset -#if !(PICO_RP2040_B0_SUPPORTED || PICO_RP2040_B1_SUPPORTED) || PICO_IE_26_29_UNCHANGED_ON_RESET +#if !PICO_RP2040 || !(PICO_RP2040_B0_SUPPORTED || PICO_RP2040_B1_SUPPORTED) || PICO_IE_26_29_UNCHANGED_ON_RESET #define PICO_RUNTIME_SKIP_INIT_RP2040_GPIO_IE_DISABLE 1 #endif #endif