RL 1 день тому
батько
коміт
5d7e9f551f

+ 0 - 54
.gitee/ISSUE_TEMPLATE/bug.yaml

@@ -1,54 +0,0 @@
-name: Bug 反馈
-description: 如发现项目存在的问题,请给予反馈,我们将及时跟进和处理,感谢!
-title: "[Bug]: "
-labels: ["bug"]
-body:
-  - type: markdown
-    attributes:
-      value: |
-        感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档:
-        - https://doc.zh-jieli.com/AC63/zh-cn/master/index.html
-        - https://gitee.com/Jieli-Tech/fw-AC63_BT_SDK/tree/master/doc/FAQ
-  - type: checkboxes
-    attributes:
-      label: 这个问题是否已经存在?
-      options:
-        - label: 是否搜索过现有的问题 (https://gitee.com/Jieli-Tech/fw-AC63_BT_SDK/issues)
-          required: true
-  - type: textarea
-    attributes:
-      label: 如何复现
-      description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供最小代码示例,并使用反引号```附上它
-      placeholder: |
-        1. ...
-        2. ...
-        3. ...
-    validations:
-      required: true
-  - type: textarea
-    attributes:
-      label: 预期结果
-      description: 请告诉我们你预期会发生什么。
-    validations:
-      required: true
-  - type: textarea
-    attributes:
-      label: 实际结果
-      description: 请告诉我们实际发生了什么。
-    validations:
-      required: true
-  - type: dropdown
-    id: version
-    attributes:
-      label: 版本
-      description: 你当前正在使用我们软件的哪个版本/分支?
-      options:
-        - master(默认)
-        - 2.3.0
-        - 2.2.1 
-        - 2.1.0 
-        - 2.0.0 
-        - 1.0.0 
-        - 其他版本
-    validations:
-      required: true

+ 0 - 5
.gitee/ISSUE_TEMPLATE/config.yaml

@@ -1,5 +0,0 @@
-blank_issues_enabled: false
-contact_links:
-  - name: 杰理开源文档
-    url: https://doc.zh-jieli.com/AC63/zh-cn/master/index.html
-    about: 提供杰理开源多款芯片的基本功能使用、介绍和常见问题解答

+ 0 - 37
.gitee/ISSUE_TEMPLATE/feature.yaml

@@ -1,37 +0,0 @@
-name: 功能建议
-description: 对本项目提出一个功能建议
-title: "[功能建议]: "
-labels: ["enhancement"]
-body:
-  - type: markdown
-    attributes:
-      value: |
-        感谢提出功能建议,我们将仔细考虑!
-  - type: textarea
-    id: related-problem
-    attributes:
-      label: 你的功能建议是否和某个问题相关?
-      description: 清晰并简洁地描述问题是什么。
-    validations:
-      required: false
-  - type: textarea
-    id: desired-solution
-    attributes:
-      label: 你希望看到什么解决方案?
-      description: 清晰并简洁地描述。
-    validations:
-      required: true
-  - type: textarea
-    id: alternatives
-    attributes:
-      label: 有对比的方案参考?
-      description: 清晰并简洁地描述解决方案或功能。
-    validations:
-      required: false
-  - type: textarea
-    id: additional-context
-    attributes:
-      label: 示例代码上下文或截图?
-      description: 添加有关功能请求的上下文或截图。
-    validations:
-      required: false

+ 0 - 17
.gitee/ISSUE_TEMPLATE/share.yaml

@@ -1,17 +0,0 @@
-name: 技术与研发经验分享
-description: 对本项目技术特点、研发经验等内容分享
-title: "[分享内容]: "
-labels: ["enhancement"]
-body:
-  - type: markdown
-    attributes:
-      value: |
-        感谢分享!
-  - type: textarea
-    id: related-problem
-    attributes:
-      label: 你的分享内容标题?
-      description: 清晰并详细地描述分享内容。
-    validations:
-      required: true
-

+ 0 - 38
.github/ISSUE_TEMPLATE/bug_report.md

@@ -1,38 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: ''
-assignees: ''
-
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior:
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Desktop (please complete the following information):**
- - OS: [e.g. iOS]
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
-
-**Smartphone (please complete the following information):**
- - Device: [e.g. iPhone6]
- - OS: [e.g. iOS8.1]
- - Browser [e.g. stock browser, safari]
- - Version [e.g. 22]
-
-**Additional context**
-Add any other context about the problem here.

+ 0 - 20
.github/ISSUE_TEMPLATE/feature_request.md

@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: ''
-labels: ''
-assignees: ''
-
----
-
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-Add any other context or screenshots about the feature request here.

+ 4 - 1
.vscode/settings.json

@@ -5,6 +5,9 @@
         "app_main.h": "c",
         "app_action.h": "c",
         "includes.h": "c",
-        "stdlib.h": "c"
+        "stdlib.h": "c",
+        "task.h": "c",
+        "log.h": "c",
+        "gpio.h": "c"
     }
 }

+ 32 - 30
apps/spp_and_le/app_main.c

@@ -144,35 +144,37 @@ void app_main()
         int update = 0;
         update = update_result_deal();
     }
-   // xTaskCreate(my_app, "my_app", 256, NULL, 1, NULL);
+    // xTaskCreate(my_app, "my_app", 256, NULL, 1, NULL);
     printf(">>>>>>>>>>>>>>>>>app_main...\n");
     printf(">>> v220,2022-11-23 >>>\n");
-
-//     if (get_charge_online_flag())
-//     {
-// #if (TCFG_SYS_LVD_EN == 1)
-//         vbat_check_init();
-// #endif
-//     }
-//     else
-//     {
-//         check_power_on_voltage();
-//     }
-
-// #if TCFG_POWER_ON_NEED_KEY
-//     check_power_on_key();
-// #endif
-
-// #if TCFG_AUDIO_ENABLE
-//     extern int audio_dec_init();
-//     extern int audio_enc_init();
-//     audio_dec_init();
-//     audio_enc_init();
-// #endif /*TCFG_AUDIO_ENABLE*/
-
-// #if TCFG_KWS_VOICE_RECOGNITION_ENABLE
-//     jl_kws_main_user_demo();
-// #endif /* #if TCFG_KWS_VOICE_RECOGNITION_ENABLE */
+   // clk_set("sys", 96 * 1000000);
+    uint32_t clock = clk_get("sys");
+    printf("get_info_clock(sys):%u", clock);
+    //     if (get_charge_online_flag())
+    //     {
+    // #if (TCFG_SYS_LVD_EN == 1)
+    //         vbat_check_init();
+    // #endif
+    //     }
+    //     else
+    //     {
+    //         check_power_on_voltage();
+    //     }
+
+    // #if TCFG_POWER_ON_NEED_KEY
+    //     check_power_on_key();
+    // #endif
+
+    // #if TCFG_AUDIO_ENABLE
+    //     extern int audio_dec_init();
+    //     extern int audio_enc_init();
+    //     audio_dec_init();
+    //     audio_enc_init();
+    // #endif /*TCFG_AUDIO_ENABLE*/
+
+    // #if TCFG_KWS_VOICE_RECOGNITION_ENABLE
+    //     jl_kws_main_user_demo();
+    // #endif /* #if TCFG_KWS_VOICE_RECOGNITION_ENABLE */
 
     init_intent(&it);
 
@@ -244,9 +246,9 @@ void app_main()
 
     start_app(&it);
 
-// #if TCFG_CHARGE_ENABLE
-//     set_charge_event_flag(1);
-// #endif
+    // #if TCFG_CHARGE_ENABLE
+    //     set_charge_event_flag(1);
+    // #endif
 }
 
 /*

+ 7 - 1
apps/spp_and_le/board/bd19/board_ac632n_demo_cfg.h

@@ -26,8 +26,14 @@
 #define TCFG_UART0_TX_PORT  				IO_PORTA_09//IO_PORTA_09                            //串口发送脚配置
 #define TCFG_UART0_BAUDRATE  				1000000                                //串口波特率配置
 
-#define UART_DB_TX_PIN                      IO_PORT_DM                            //AT_CHART串口
+//4G版
+// #define UART_DB_TX_PIN                      IO_PORT_DP                            //AT_CHART串口//
+// #define UART_DB_RX_PIN                      IO_PORT_DM
+
+//蓝牙基础版
+#define UART_DB_TX_PIN                      IO_PORT_DM                            //AT_CHART串口//
 #define UART_DB_RX_PIN                      IO_PORT_DP
+
 #define UART_DB_RTS_PIN                     NO_CONFIG_PORT
 #define UART_DB_CTS_PIN                     NO_CONFIG_PORT
 

BIN
cpu/bd19/tools/app.bin


BIN
cpu/bd19/tools/data_code.bin


BIN
cpu/bd19/tools/download/data_trans/app.bin


BIN
cpu/bd19/tools/download/data_trans/jl_isd.bin


BIN
cpu/bd19/tools/download/data_trans/jl_isd.fw


+ 1 - 0
cpu/bd19/tools/sdk.elf.resolution.txt

@@ -1392,6 +1392,7 @@ objs/apps/spp_and_le/app_main.c.o
 -r=objs/apps/spp_and_le/app_main.c.o,os_time_dly,
 -r=objs/apps/spp_and_le/app_main.c.o,app_main,pl
 -r=objs/apps/spp_and_le/app_main.c.o,update_result_deal,l
+-r=objs/apps/spp_and_le/app_main.c.o,clk_get,l
 -r=objs/apps/spp_and_le/app_main.c.o,log_print,l
 -r=objs/apps/spp_and_le/app_main.c.o,start_app,l
 -r=objs/apps/spp_and_le/app_main.c.o,app_switch,pl

Різницю між файлами не показано, бо вона завелика
+ 40289 - 40259
cpu/bd19/tools/sdk.lst