From e0b657e796345c42a97b4686737e86eb61a1dda3 Mon Sep 17 00:00:00 2001 From: Zhangwen <13970730+mkc46119@user.noreply.gitee.com> Date: Tue, 16 Jul 2024 12:38:33 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=EF=BC=9A=E4=BF=AE=E6=AD=A3=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keilp/cc_as_stc02_ps5ws.uvprojx | 54 ++++++++++++++----- source/app/main.c | 3 ++ ...{bsp_key nonblock.c => bsp_key_nonblock.c} | 0 3 files changed, 44 insertions(+), 13 deletions(-) rename source/bsp/{bsp_key nonblock.c => bsp_key_nonblock.c} (100%) diff --git a/keilp/cc_as_stc02_ps5ws.uvprojx b/keilp/cc_as_stc02_ps5ws.uvprojx index 7f29a96..367bf0f 100644 --- a/keilp/cc_as_stc02_ps5ws.uvprojx +++ b/keilp/cc_as_stc02_ps5ws.uvprojx @@ -10,7 +10,6 @@ STC8F2K16S2 0x0 MCS-51 - 0 STC8H8K64U Series @@ -124,6 +123,47 @@ 0 16 + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + + + 0 + 1 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + + 0 + -1 + + + + + + + + + + + + + + + @@ -177,14 +217,12 @@ 0 0 0 - 0 0 0 0 0 0 0 - 0 0 0 0 @@ -254,16 +292,6 @@ 0x0 0x0 - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - diff --git a/source/app/main.c b/source/app/main.c index 5cc3bb5..87735ed 100644 --- a/source/app/main.c +++ b/source/app/main.c @@ -156,6 +156,9 @@ void main(void) //上电延时方便输出 delayInMs(1000); + //输出版本号 + L0_uart0_sendArray("v2.8",4); + L0_uart0_0d0a(); //获取mcuid L0_id_get_chipid(); L0_uart0_sendArrayHex(mcuid, MSP_ID_LEN); diff --git a/source/bsp/bsp_key nonblock.c b/source/bsp/bsp_key_nonblock.c similarity index 100% rename from source/bsp/bsp_key nonblock.c rename to source/bsp/bsp_key_nonblock.c