Fix compilation error for MKS Robin (#13506)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							c6dbe6e9d6
						
					
				
				
					commit
					6d9aaca082
				
			@@ -1,7 +1,9 @@
 | 
			
		||||
Import("env")
 | 
			
		||||
 | 
			
		||||
# Relocate firmware from 0x08000000 to 0x08007000
 | 
			
		||||
env['CPPDEFINES'].remove(("VECT_TAB_ADDR", 134217728))
 | 
			
		||||
for define in env['CPPDEFINES']:
 | 
			
		||||
    if define[0] == "VECT_TAB_ADDR":
 | 
			
		||||
        env['CPPDEFINES'].remove(define)
 | 
			
		||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
 | 
			
		||||
env.Replace(LDSCRIPT_PATH="buildroot/share/PlatformIO/ldscripts/mks_robin.ld")
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user