forked from mfulz_github/qmk_firmware
		
	Copy RP2040 vector table to RAM on startup (#18424)
...this reduces possible latency when invoking interrupt handlers by mitigating XIP cache misses which are not existent when running code from RAM.
This commit is contained in:
		
							parent
							
								
									828a1db035
								
							
						
					
					
						commit
						b8ffaa6331
					
				
							
								
								
									
										3
									
								
								platforms/chibios/vendors/RP/RP2040.mk
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								platforms/chibios/vendors/RP/RP2040.mk
									
									
									
									
										vendored
									
									
								
							@ -11,7 +11,8 @@ endif
 | 
				
			|||||||
# Raspberry Pi Pico SDK Support
 | 
					# Raspberry Pi Pico SDK Support
 | 
				
			||||||
##############################################################################
 | 
					##############################################################################
 | 
				
			||||||
ADEFS  += -DCRT0_VTOR_INIT=1 \
 | 
					ADEFS  += -DCRT0_VTOR_INIT=1 \
 | 
				
			||||||
		  -DCRT0_EXTRA_CORES_NUMBER=0
 | 
							  -DCRT0_EXTRA_CORES_NUMBER=0 \
 | 
				
			||||||
 | 
					          -DCRT0_INIT_VECTORS=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CFLAGS += -DPICO_NO_FPGA_CHECK \
 | 
					CFLAGS += -DPICO_NO_FPGA_CHECK \
 | 
				
			||||||
          -DNDEBUG
 | 
					          -DNDEBUG
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user