Merge pull request #6553 from theotherjimmy/stmL4-armc6

Correct armc6 detection logic for STM32L4
pull/3955/merge
Martin Kojtal 2018-04-09 17:36:52 +02:00 committed by GitHub
commit 8b2eb20a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 "stm32l4xx.h"
extern uint32_t __mbed_sbrk_start;

View File

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