|
| 1 | +include_directories(${CMAKE_CURRENT_LIST_DIR}/../../) |
| 2 | + |
| 3 | +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") |
| 4 | +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../") |
| 5 | +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../") |
| 6 | + |
| 7 | +set(CMAKE_C_STANDARD 11) |
| 8 | +set(CMAKE_CXX_STANDARD 17) |
| 9 | + |
| 10 | +## micropython-common with deletions |
| 11 | +# Essential |
| 12 | +# include(pimoroni_i2c/micropython) |
| 13 | +# include(pimoroni_bus/micropython) |
| 14 | + |
| 15 | +# Pico Graphics Essential |
| 16 | +# include(hershey_fonts/micropython) |
| 17 | +# include(bitmap_fonts/micropython) |
| 18 | +# include(picographics/micropython) |
| 19 | + |
| 20 | +# Pico Graphics Extra |
| 21 | +# include(jpegdec/micropython) |
| 22 | +# include(qrcode/micropython/micropython) |
| 23 | + |
| 24 | +# Sensors & Breakouts |
| 25 | +# include(micropython-common-breakouts) |
| 26 | + |
| 27 | +# Packs & Bases |
| 28 | +# include(pico_unicorn/micropython) |
| 29 | +# include(pico_scroll/micropython) |
| 30 | +# include(pico_rgb_keypad/micropython) |
| 31 | +# include(pico_explorer/micropython) |
| 32 | + |
| 33 | +# LEDs & Matrices |
| 34 | +# include(plasma/micropython) |
| 35 | +include(hub75/micropython) |
| 36 | + |
| 37 | +# Servos & Motors |
| 38 | +# include(pwm/micropython) |
| 39 | +# include(servo/micropython) |
| 40 | +# include(encoder/micropython) |
| 41 | +# include(motor/micropython) |
| 42 | + |
| 43 | +# Utility |
| 44 | +# include(adcfft/micropython) |
| 45 | + |
| 46 | +include(modules_py/modules_py) |
| 47 | + |
| 48 | +# Most board specific ports wont need all of these |
| 49 | +# copy_module(gfx_pack.py) |
| 50 | +copy_module(interstate75.py) |
| 51 | + |
| 52 | +# Must call `enable_ulab()` to enable |
| 53 | +include(micropython-common-ulab) |
| 54 | +enable_ulab() |
| 55 | + |
| 56 | +# C++ Magic Memory |
| 57 | +include(cppmem/micropython) |
| 58 | +copy_module(boot.py) |
0 commit comments