Correct armc6 detection logic

pull/6697/head
Jimmy Brisson 2018-04-05 15:13:52 -05:00 committed by adbridge
parent f60cc145aa
commit 0e49953dc3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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__[];