Skip to content

Commit

Permalink
MicroPython: Remove NO_OVERCLOCK.
Browse files Browse the repository at this point in the history
This flag disabled the accomodations for PIO clock speed, causing PIO to
be driven way, way too fast and the parallel LCD to go fuzzy and lose
colour.
  • Loading branch information
Gadgetoid committed Jul 12, 2024
1 parent 2aab2f7 commit 1e61842
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions micropython/modules/picosystem/micropython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ target_include_directories(usermod_picosystem INTERFACE
target_compile_definitions(usermod_picosystem INTERFACE
MODULE_PICOSYSTEM_ENABLED=1
PIXEL_DOUBLE=1
NO_OVERCLOCK=1
)

target_link_libraries(usermod_picosystem INTERFACE
Expand All @@ -53,12 +52,6 @@ set_source_files_properties(
"-DPIXEL_DOUBLE=1"
)

set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/hardware.cpp
PROPERTIES COMPILE_FLAGS
"-DNO_OVERCLOCK=1"
)

# TODO fix sign compare issues in codebase
set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/../../../libraries/primitives.cpp
Expand Down

0 comments on commit 1e61842

Please sign in to comment.