diff --git a/boards/usermod-common.cmake b/boards/usermod-common.cmake index 0aee380..0f40935 100644 --- a/boards/usermod-common.cmake +++ b/boards/usermod-common.cmake @@ -36,9 +36,6 @@ include(micropython-common-breakouts) # Utility include(adcfft/micropython) -# LEDs & Matrices -include(plasma/micropython) - # Unicorn driver. Note: The UNICORN var must be set in mpconfigboard.cmake include(${UNICORN}_unicorn/micropython) @@ -46,11 +43,17 @@ include(${UNICORN}_unicorn/micropython) include(micropython-common-ulab) enable_ulab() +# These do not fit on the 2MB RP2040 Pico W +if(PICO_PLATFORM EQUAL "rp2350-arm-s") +# LEDs & Matrices +include(plasma/micropython) + # Servos & Motors include(pwm/micropython) include(servo/micropython) include(encoder/micropython) include(motor/micropython) +endif() # Still required for version.py include(modules_py/modules_py)