Skip to content

Commit dbd7ae9

Browse files
MichaelBellGadgetoid
authored andcommitted
PicoVector: Set optimization flags.
1 parent 15c3e66 commit dbd7ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/modules/picovector/micropython.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ target_link_libraries(usermod INTERFACE usermod_picovector)
2323
set_source_files_properties(
2424
${CMAKE_CURRENT_LIST_DIR}/../../../libraries/pico_vector/pico_vector.cpp
2525
PROPERTIES COMPILE_FLAGS
26-
"-Wno-narrowing"
26+
"-Wno-narrowing -O2 -fgcse-after-reload -floop-interchange -fpeel-loops -fpredictive-commoning -fsplit-paths -ftree-loop-distribute-patterns -ftree-loop-distribution -ftree-vectorize -ftree-partial-pre -funswitch-loops"
2727
)

0 commit comments

Comments
 (0)