mirror of
https://github.com/danbee/unicorn
synced 2026-06-20 22:52:22 +00:00
Remove extra modules from RP2040 builds.
These were not included in previous pimoroni-pico builds and blow the build size.
This commit is contained in:
parent
0481f38f29
commit
84b550cf79
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user