Make startup file unix like and add a hardcoded enable for the FPU
This commit is contained in:
		@@ -99,6 +99,12 @@ LoopFillZerobss:
 | 
				
			|||||||
  //bl __libc_init_array
 | 
					  //bl __libc_init_array
 | 
				
			||||||
/* Call the application's entry point.*/
 | 
					/* Call the application's entry point.*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /* Enable FPU hard */
 | 
				
			||||||
 | 
					  LDR.W   R0, =0xE000ED88
 | 
				
			||||||
 | 
					  LDR     R1, [R0]
 | 
				
			||||||
 | 
					  ORR     R1, R1, #(0xF << 20)
 | 
				
			||||||
 | 
					  STR     R1, [R0]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bl  main
 | 
					  bl  main
 | 
				
			||||||
  bx  lr    
 | 
					  bx  lr    
 | 
				
			||||||
.size  Reset_Handler, .-Reset_Handler
 | 
					.size  Reset_Handler, .-Reset_Handler
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user