py/asmthumb: Fix build for F7 MCUs after recent code refactoring.
This commit is contained in:
parent
029f215ead
commit
63e82dcdfe
@ -53,7 +53,7 @@ void asm_thumb_end_pass(asm_thumb_t *as) {
|
||||
#if defined(MCU_SERIES_F7)
|
||||
if (as->base.pass == MP_ASM_PASS_EMIT) {
|
||||
// flush D-cache, so the code emited is stored in memory
|
||||
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);
|
||||
// invalidate I-cache
|
||||
SCB_InvalidateICache();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user