8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a3c52 commit f9ecaa1Copy full SHA for f9ecaa1
py/asmthumb.c
@@ -33,6 +33,7 @@
33
// wrapper around everything in this file
34
#if MICROPY_EMIT_THUMB || MICROPY_EMIT_INLINE_THUMB
35
36
+#include "py/mphal.h"
37
#include "py/asmthumb.h"
38
39
#define UNSIGNED_FIT8(x) (((x) & 0xffffff00) == 0)
@@ -53,7 +54,7 @@ void asm_thumb_end_pass(asm_thumb_t *as) {
53
54
#if defined(MCU_SERIES_F7)
55
if (as->base.pass == MP_ASM_PASS_EMIT) {
56
// flush D-cache, so the code emitted is stored in memory
- SCB_CleanDCache_by_Addr((uint32_t*)as->base.code_base, as->base.code_size);
57
+ MP_HAL_CLEAN_DCACHE(as->base.code_base, as->base.code_size);
58
// invalidate I-cache
59
SCB_InvalidateICache();
60
}
0 commit comments