Skip to content

Commit 829b422

Browse files
committed
Bug fix for IAR support.
We modified function definition for IAR support.
1 parent bebc235 commit 829b422

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

libraries/mbed/targets/cmsis/core_caFunc.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,15 @@ __asm(
811811
__STATIC_INLINE void __v7_inv_dcache_all(void) {
812812
__v7_all_cache(0);
813813
}
814+
/** \brief Clean and Invalidate D$ by MVA
815+
816+
DCCIMVAC. Data cache clean and invalidate by MVA to PoC
817+
*/
818+
__STATIC_INLINE void __v7_clean_inv_dcache_mva(void *va) {
819+
__MCR(15, 0, (uint32_t)va, 7, 14, 1);
820+
__DMB();
821+
}
822+
814823
#include "core_ca_mmu.h"
815824

816825
#elif (defined (__GNUC__)) /*------------------ GNU Compiler ---------------------*/

0 commit comments

Comments
 (0)