From 631a90c1116fa33382a88a747c89bf761bc0fa9b Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 01 十一月 2024 16:32:38 +0800 Subject: [PATCH] 成功移植安邦手环升级UART1的BOOTV1.0,测试升级成功,可用稳定版本 --- dualboots_Gai_youhua/keil/secondboot/include/drivers/mk_misc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/mk_misc.c b/dualboots_Gai_youhua/keil/secondboot/include/drivers/mk_misc.c similarity index 98% copy from dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/mk_misc.c copy to dualboots_Gai_youhua/keil/secondboot/include/drivers/mk_misc.c index 5eb2565..5fbbdb2 100644 --- a/dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/mk_misc.c +++ b/dualboots_Gai_youhua/keil/secondboot/include/drivers/mk_misc.c @@ -425,9 +425,9 @@ "bhi loop%=\n" "pop {r4,r5}\n" "exit%=:\n" - : - : [mult_hi] "i"(SYSTEM_CLOCK_MULT_HI), [mult_lo] "i"(SYSTEM_CLOCK_MULT_LO), [shift] "i"(SYSTEM_CLOCK_LSLS_BITS), [adjust] "i"(AAPCS_PREP_CYCLES), - [decr] "i"(DELAY_LOOP_CYCLES)); + : + : [mult_hi] "i"(SYSTEM_CLOCK_MULT_HI), [mult_lo] "i"(SYSTEM_CLOCK_MULT_LO), [shift] "i"(SYSTEM_CLOCK_LSLS_BITS), [adjust] "i"(AAPCS_PREP_CYCLES), + [decr] "i"(DELAY_LOOP_CYCLES)); #if defined(__GNUC__) && !defined(__ARMCC_VERSION) __asm volatile(".syntax divided\n"); -- Gitblit v1.9.3