From b63a928b92190e883af39013a30020099eb44ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BF=97=E6=81=92?= Date: Mon, 31 Aug 2026 20:15:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E6=88=90=E5=BC=B9=E5=8A=9B?= =?UTF-8?q?=E9=AD=94=E7=9B=92=E5=88=9D=E7=89=88=E5=9B=BA=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 +- AC701N.cbp | 7 +- Makefile | 1 + .../bt_trans_data/le_rcsp_adv_module.c | 45 +- apps/earphone/board/br28/board_jl701n_demo.c | 21 +- apps/usr_app/app_boot.c | 42 +- apps/usr_app/app_function.c | 242 +++++++--- apps/usr_app/app_function.h | 20 +- apps/usr_app/app_led.c | 13 +- apps/usr_app/app_led.h | 3 + apps/usr_app/app_mode.c | 441 +++++++++++------- apps/usr_app/app_mode.h | 8 +- apps/usr_app/app_pair.c | 6 + apps/usr_app/app_pair.h | 3 + apps/usr_app/app_power.c | 5 + apps/usr_app/app_shake_wake.c | 112 +++++ apps/usr_app/app_shake_wake.h | 22 + apps/usr_jb_proto/Protocol/jb_product.c | 222 +++++---- apps/usr_jb_proto/Protocol/jb_product.h | 4 +- apps/usr_jb_proto/Protocol/jb_protocol.c | 164 +++---- apps/usr_jb_proto/Protocol/jb_protocol.h | 89 ++-- apps/usr_jb_proto/usr_jb_main.c | 33 +- apps/usr_le_code/usr_le_adv.c | 30 +- apps/usr_le_code/usr_le_api.h | 6 + apps/usr_periph/board_pin.h | 38 +- apps/usr_periph/bsp_hw.c | 362 +++++++------- apps/usr_periph/bsp_hw.h | 26 +- cpu/br28/sdk.ld | 18 +- cpu/br28/sdk_used_list.used | 1 + cpu/br28/tools/download.bat | 1 + .../download/earphone/download_app_ota.bat | 72 ++- cpu/br28/tools/p11_code.bin | Bin 0 -> 12136 bytes dp_definition.json | 33 +- tools/pack_firmware.ps1 | 2 +- 34 files changed, 1320 insertions(+), 781 deletions(-) create mode 100644 apps/usr_app/app_shake_wake.c create mode 100644 apps/usr_app/app_shake_wake.h create mode 100644 cpu/br28/tools/p11_code.bin diff --git a/.gitignore b/.gitignore index 9955a91..64c6183 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,8 @@ cpu/*/tools/sdk.map cpu/*/tools/rom.lst cpu/*/tools/app.bin cpu/*/tools/data_code.bin -cpu/*/tools/p11_code.bin +# P11 固件是下载工具输入,不是本工程生成物,必须随工程保留。 +!cpu/*/tools/p11_code.bin cpu/*/tools/*.bc # 打包下载目录中的固件产物(保留脚本 .bat / 密钥 .key) @@ -94,3 +95,9 @@ Release_Project_*/ # - cpu/br28/tools/*.exe 等 下载/打包工具 # - include_lib/ / apps/ 头文件与应用源码 # ----------------------------------------------------------------------------- + +# Programming key: upload only after company approval +*.key +*.pem +*.pfx +/objs/ \ No newline at end of file diff --git a/AC701N.cbp b/AC701N.cbp index 7e8bf4f..284cf08 100644 --- a/AC701N.cbp +++ b/AC701N.cbp @@ -281,7 +281,8 @@ - + + @@ -832,6 +833,10 @@