mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #6553 from theotherjimmy/stmL4-armc6
Correct armc6 detection logic for STM32L4pull/3955/merge
						commit
						8b2eb20a54
					
				| 
						 | 
					@ -32,7 +32,7 @@
 | 
				
			||||||
  *
 | 
					  *
 | 
				
			||||||
  ******************************************************************************  
 | 
					  ******************************************************************************  
 | 
				
			||||||
  */ 
 | 
					  */ 
 | 
				
			||||||
#if (defined(TWO_RAM_REGIONS) && defined(__GNUC__) && !defined(__CC_ARM))
 | 
					#if (defined(TWO_RAM_REGIONS) && defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC_VERSION))
 | 
				
			||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
#include "stm32l4xx.h"
 | 
					#include "stm32l4xx.h"
 | 
				
			||||||
extern uint32_t __mbed_sbrk_start;
 | 
					extern uint32_t __mbed_sbrk_start;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -122,7 +122,7 @@
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // INITIAL_SP
 | 
					#endif // INITIAL_SP
 | 
				
			||||||
#if (defined(__GNUC__) && !defined(__CC_ARM) && defined(TWO_RAM_REGIONS))
 | 
					#if (defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC_VERSION) && defined(TWO_RAM_REGIONS))
 | 
				
			||||||
    extern uint32_t               __StackLimit[];
 | 
					    extern uint32_t               __StackLimit[];
 | 
				
			||||||
    extern uint32_t               __StackTop[];
 | 
					    extern uint32_t               __StackTop[];
 | 
				
			||||||
    extern uint32_t               __end__[];
 | 
					    extern uint32_t               __end__[];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue