8000 rp2/CMakeLists.txt: Allow a board's cmake to set the manifest path. · codemee/micropython@23531bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 23531bc

Browse files
iabdalkaderdpgeorge
authored andcommitted
rp2/CMakeLists.txt: Allow a board's cmake to set the manifest path.
This allows boards to add frozen modules, or bypass the port manifest entirely.
1 parent 3835f5f commit 23531bc

File tree

< 8000 button data-component="IconButton" type="button" data-testid="expand-file-tree-button" aria-expanded="false" aria-controls="diff_file_tree" data-analytics-opt-out="true" class="prc-Button-ButtonBase-c50BI d-md-none position-relative fgColor-muted prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Raatdab:-loading-announcement" aria-labelledby="expand-button-file-tree-button">

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ports/rp2/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ set(PICO_SDK_COMPONENTS
163163

164164
# Define mpy-cross flags and frozen manifest
165165
set(MICROPY_CROSS_FLAGS -march=armv7m)
166-
set(MICROPY_FROZEN_MANIFEST ${PROJECT_SOURCE_DIR}/boards/manifest.py)
166+
if (NOT MICROPY_FROZEN_MANIFEST)
167+
set(MICROPY_FROZEN_MANIFEST ${PROJECT_SOURCE_DIR}/boards/manifest.py)
168+
endif()
167169

168170
target_sources(${MICROPY_TARGET} PRIVATE
169171
${MICROPY_SOURCE_PY}

0 commit comments

Comments
 (0)
0