Fix include file for ARMCC 6, should use cmsis_armclang.h

pull/4949/head
adbridge 2017-09-12 16:41:11 +01:00
parent 23aafbfe6c
commit 32bd25e8df
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@
#if defined(__CC_ARM) #if defined(__CC_ARM)
#include "cmsis_armcc.h" #include "cmsis_armcc.h"
#elif (defined(__ARMCC_VERSION) && __ARMCC_VERSION >= 6010050)
#include "cmsis_armclang.h"
#elif defined(__GNUC__) #elif defined(__GNUC__)
#include "cmsis_gcc.h" #include "cmsis_gcc.h"
#else #else