mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Fix traceback from incorrect use of core
							parent
							
								
									7bcc63b202
								
							
						
					
					
						commit
						25ca0e3cfb
					
				| 
						 | 
				
			
			@ -79,7 +79,7 @@ class Sw4STM32(Exporter):
 | 
			
		|||
    def generate(self):
 | 
			
		||||
        fp_hardware = "no"
 | 
			
		||||
        fp_abi = "soft"
 | 
			
		||||
        core = self.target.core
 | 
			
		||||
        core = self.toolchain.target.core
 | 
			
		||||
        if core == "Cortex-M4F" or core == "Cortex-M7F":
 | 
			
		||||
            fp_hardware = "fpv4-sp-d16"
 | 
			
		||||
            fp_abi = "soft-fp"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue