diff options
author | Damien George <damien.p.george@gmail.com> | 2016-11-30 00:11:25 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-11-30 00:11:25 +1100 |
commit | 63e82dcdfe33e3805958203cdff0ed4d87a8b536 (patch) | |
tree | 3c2314aa6506282c2a96d4af9a94a308eb067e7c /py/asmthumb.c | |
parent | 029f215eadcc2fcff612a81b40291e75d4cbc706 (diff) | |
download | micropython-63e82dcdfe33e3805958203cdff0ed4d87a8b536.tar.gz micropython-63e82dcdfe33e3805958203cdff0ed4d87a8b536.zip |
py/asmthumb: Fix build for F7 MCUs after recent code refactoring.
Diffstat (limited to 'py/asmthumb.c')
-rw-r--r-- | py/asmthumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmthumb.c b/py/asmthumb.c index 705c15a189..82a226b629 100644 --- a/py/asmthumb.c +++ b/py/asmthumb.c @@ -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(); } |