mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Correct armc6 detection logic
							parent
							
								
									75cb4d7512
								
							
						
					
					
						commit
						d374bb4a5a
					
				| 
						 | 
				
			
			@ -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 "stm32l4xx.h"
 | 
			
		||||
extern uint32_t __mbed_sbrk_start;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -122,7 +122,7 @@
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
#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               __StackTop[];
 | 
			
		||||
    extern uint32_t               __end__[];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue