Skip to content

Commit 63e82dc

Browse files
committed
py/asmthumb: Fix build for F7 MCUs after recent code refactoring.
1 parent 029f215 commit 63e82dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/asmthumb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void asm_thumb_end_pass(asm_thumb_t *as) {
5353
#if defined(MCU_SERIES_F7)
5454
if (as->base.pass == MP_ASM_PASS_EMIT) {
5555
// flush D-cache, so the code emited is stored in memory
56-
SCB_CleanDCache_by_Addr((uint32_t*)as->code_base, as->code_size);
56+
SCB_CleanDCache_by_Addr((uint32_t*)as->base.code_base, as->base.code_size);
5757
// invalidate I-cache
5858
SCB_InvalidateICache();
5959
}

0 commit comments

Comments
 (0)