Skip to content

Commit

Permalink
MicroPython: Pico W parity with Pico build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Mar 16, 2023
1 parent 5277c26 commit a6b5747
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 48 deletions.
33 changes: 23 additions & 10 deletions micropython/modules/micropython-common.cmake
Original file line number Diff line number Diff line change
@@ -1,31 +1,43 @@
# Essential
include(pimoroni_i2c/micropython)
include(pimoroni_bus/micropython)

# Pico Graphics Essential
include(hershey_fonts/micropython)
include(bitmap_fonts/micropython)
include(picographics/micropython)

# Pico Graphics Extra
include(jpegdec/micropython)
include(qrcode/micropython/micropython)

# Sensors & Breakouts
include(micropython-common-breakouts)

# Packs & Bases
include(pico_unicorn/micropython)
include(pico_scroll/micropython)
include(pico_rgb_keypad/micropython)
include(pico_unicorn/micropython)
include(pico_wireless/micropython)
include(pico_explorer/micropython)

include(hershey_fonts/micropython)
include(bitmap_fonts/micropython)

# LEDs & Matrices
include(plasma/micropython)
include(hub75/micropython)

# Servos & Motors
include(pwm/micropython)
include(servo/micropython)
include(encoder/micropython)
include(motor/micropython)
include(qrcode/micropython/micropython)
include(adcfft/micropython)
include(pcf85063a/micropython)

include(picographics/micropython)
include(jpegdec/micropython)
include(galactic_unicorn/micropython)
# Utility
include(adcfft/micropython)

# RTC (Badger 2040W, Enviro)
if(PICO_BOARD STREQUAL "pico_w")
include(pcf85063a/micropython)
endif()

include(modules_py/modules_py)

Expand All @@ -37,4 +49,5 @@ if(PICO_BOARD STREQUAL "pico_w")
copy_module(inventor.py)
endif()

# Must call `enable_ulab()` to enable
include(micropython-common-ulab)
39 changes: 1 addition & 38 deletions micropython/modules/micropython-picow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,4 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../")
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

# Essential
include(pimoroni_i2c/micropython)
include(pimoroni_bus/micropython)

# Pico Graphics Essential
include(hershey_fonts/micropython)
include(bitmap_fonts/micropython)
include(picographics/micropython)

# Pico Graphics Extra
include(jpegdec/micropython)
include(qrcode/micropython/micropython)

# Sensors & Breakouts
include(micropython-common-breakouts)
include(pcf85063a/micropython)

# Utility
include(adcfft/micropython)

# LEDs & Matrices
include(plasma/micropython)
include(hub75/micropython)

# Packs
include(pico_unicorn/micropython)
include(pico_scroll/micropython)
include(pico_rgb_keypad/micropython)

# Servos & Motors
include(pwm/micropython)
include(servo/micropython)
include(encoder/micropython)
include(motor/micropython)

# include(micropython-common)

include(modules_py/modules_py)
include(micropython-common)

0 comments on commit a6b5747

Please sign in to comment.