kopia lustrzana https://github.com/Wren6991/PicoDVI
				
				
				
			Force vista to always build as copy-to-ram
							rodzic
							
								
									e6a12a08aa
								
							
						
					
					
						commit
						c562c1de25
					
				|  | @ -8,13 +8,7 @@ pico_sdk_init() | |||
| 
 | ||||
| add_compile_options(-Wall) | ||||
| 
 | ||||
| ## todo board files | ||||
| add_definitions(-DDEBUG_PIN0=22 -DDEBUG_N_PINS=4) | ||||
| add_definitions(-DPICO_DEFAULT_UART_TX_PIN=16 -DPICO_DEFAULT_UART_RX_PIN=17) | ||||
| 
 | ||||
| # add_definitions(-DDEFAULT_DVI_SERIAL_CONFIG=picodvi_pmod0_cfg) | ||||
| # add_definitions(-DRUN_FROM_CRYSTAL=1) | ||||
| # add_definitions(-DDVI_SERIAL_DEBUG=1) | ||||
| 
 | ||||
| include_directories( | ||||
| 	assets | ||||
|  |  | |||
|  | @ -6,6 +6,10 @@ add_executable(vista | |||
| 	main.c | ||||
| ) | ||||
| 
 | ||||
| # All code and data must be RAM-resident so we can stream continuously from | ||||
| # flash using direct SSI DMA, which would trample on XIP. | ||||
| pico_set_binary_type(vista copy_to_ram) | ||||
| 
 | ||||
| target_compile_definitions(vista PRIVATE | ||||
| 	DVI_VERTICAL_REPEAT=1 | ||||
| 	DVI_N_TMDS_BUFFERS=5 | ||||
|  | @ -14,7 +18,6 @@ target_compile_definitions(vista PRIVATE | |||
| 
 | ||||
| target_compile_definitions(vista PRIVATE PICO_STACK_SIZE=0x200) | ||||
| 
 | ||||
| 
 | ||||
| target_link_libraries(vista | ||||
| 	pico_stdlib | ||||
| 	pico_multicore | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Luke Wren
						Luke Wren