kopia lustrzana https://github.com/Wren6991/PicoDVI
Pico default clkdiv is now 2, so vista doesn't need an increase, but bad_apple needs a decrease
rodzic
cb7f9bcb27
commit
e6a12a08aa
|
@ -8,6 +8,12 @@ add_executable(bad_apple
|
|||
rle_decompress.S
|
||||
)
|
||||
|
||||
# Increase CLKDIV to 4, because we're going to run the system at 372 MHz, and
|
||||
# the flash gets rather unhappy if you try to clock it at 186 MHz
|
||||
pico_define_boot_stage2(bad_apple_boot2 ${PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||
target_compile_definitions(bad_apple_boot2 PRIVATE PICO_FLASH_SPI_CLKDIV=4)
|
||||
pico_set_boot_stage2(bad_apple bad_apple_boot2)
|
||||
|
||||
target_include_directories(bad_apple PRIVATE
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
||||
|
|
|
@ -6,13 +6,6 @@ add_executable(vista
|
|||
main.c
|
||||
)
|
||||
|
||||
# Define a new second stage with flash CLKDIV=2 => SCK frequency of 126 MHz.
|
||||
# We need a sustained bandwidth of just over 40 MB/s during vertical active period
|
||||
pico_define_boot_stage2(vista_boot2 ${PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||
target_compile_definitions(vista_boot2 PRIVATE PICO_FLASH_SPI_CLKDIV=2)
|
||||
pico_set_boot_stage2(vista vista_boot2)
|
||||
|
||||
|
||||
target_compile_definitions(vista PRIVATE
|
||||
DVI_VERTICAL_REPEAT=1
|
||||
DVI_N_TMDS_BUFFERS=5
|
||||
|
|
Ładowanie…
Reference in New Issue