diff --git a/bacnet-stack/ports/stm32f10x/CMSIS/core_cm3.h b/bacnet-stack/ports/stm32f10x/CMSIS/core_cm3.h
index 9a00ac0e..c1a6d4cd 100644
--- a/bacnet-stack/ports/stm32f10x/CMSIS/core_cm3.h
+++ b/bacnet-stack/ports/stm32f10x/CMSIS/core_cm3.h
@@ -1542,6 +1542,7 @@ static __INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
*
* Note: The priority cannot be set for every core interrupt.
*/
+#ifndef __CSTAT__
static __INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
{
@@ -1550,7 +1551,7 @@ static __INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
else {
return((uint32_t)(NVIC->IP[(uint32_t)(IRQn)] >> (8 - __NVIC_PRIO_BITS))); } /* get priority for device specific interrupts */
}
-
+#endif
/**
* @brief Encode the priority for an interrupt
diff --git a/bacnet-stack/ports/stm32f10x/bacnet.ewp b/bacnet-stack/ports/stm32f10x/bacnet.ewp
index ff3ab276..382d0602 100644
--- a/bacnet-stack/ports/stm32f10x/bacnet.ewp
+++ b/bacnet-stack/ports/stm32f10x/bacnet.ewp
@@ -12,7 +12,7 @@
General
3
- 21
+ 24
1
1
-
-
-
+
+
+
+
+
+
+
ICCARM
2
- 28
+ 31
1
1
+
+
+
+
AARM
2
- 8
+ 9
1
1
+
@@ -575,7 +613,7 @@
1
@@ -621,7 +660,7 @@
ILINK
0
- 15
+ 16
1
1
+
@@ -940,7 +983,7 @@
General
3
- 21
+ 24
1
0
-
-
-
+
+
+
+
+
+
+
ICCARM
2
- 28
+ 31
1
0
+
+
+
+
AARM
2
- 8
+ 9
1
0
+
@@ -1504,7 +1585,7 @@
0
@@ -1550,7 +1632,7 @@
ILINK
0
- 15
+ 16
1
0
+