We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029f215 commit 63e82dcCopy full SHA for 63e82dc
1 file changed
py/asmthumb.c
@@ -53,7 +53,7 @@ void asm_thumb_end_pass(asm_thumb_t *as) {
53
#if defined(MCU_SERIES_F7)
54
if (as->base.pass == MP_ASM_PASS_EMIT) {
55
// flush D-cache, so the code emited is stored in memory
56
- SCB_CleanDCache_by_Addr((uint32_t*)as->code_base, as->code_size);
+ SCB_CleanDCache_by_Addr((uint32_t*)as->base.code_base, as->base.code_size);
57
// invalidate I-cache
58
SCB_InvalidateICache();
59
}
0 commit comments