编译验证 xlbs
authorcheng.chen <cheng.chen@raisound.com>
Thu, 18 Jun 2026 03:51:38 +0000 (11:51 +0800)
committercheng.chen <cheng.chen@raisound.com>
Thu, 18 Jun 2026 03:51:41 +0000 (11:51 +0800)
2.code/aicos/app/AI_AMP_2_5/CMakeLists.txt
2.code/aicos/app/AI_AMP_2_5/dev_authentication.c
2.code/make.py

index feb6784..0ed5dfa 100644 (file)
@@ -11,8 +11,6 @@ aic_library_sources_ifdef(
     ${AIC_SOURCE_ROOT}/app/AI_AMP_2_5/bk_key.c
     ${AIC_SOURCE_ROOT}/app/AI_AMP_2_5/dev_authentication.c
     ${AIC_SOURCE_ROOT}/app/AI_AMP_2_5/bk_opus_coder.c
-    ${AIC_SOURCE_ROOT}/app/AI_AMP_2_5/aic_mp3decoder_api.c
-    ${AIC_SOURCE_ROOT}/app/AI_AMP_2_5/aic_mp3decoder_demo.c
 
 
 )
index 5ea0eef..6f341ea 100644 (file)
@@ -496,7 +496,7 @@ void aic_https_demotest(char *url_play)
 
              bk_printf("https  get data %d ",lbytes);
 
-             play_audio_done_duplex(buff, bytes, 16000, 0);
+            // play_audio_done_duplex(buff, bytes, 16000, 0);
 
              //audio_data(buff,lbytes,37);
              resetClose_time();
index f5f9353..0e672a6 100644 (file)
@@ -6,7 +6,6 @@ import os, sys, time, re, shutil, platform
 import subprocess, fileinput
 from multiprocessing import cpu_count
 from colorama import init
-from datetime import datetime
 init(autoreset=True)
 
 # set global path and value
@@ -23,9 +22,7 @@ global md_board_name, nv_board_name, nvram_board_config
 global subsys_config, board_config
 global binary_path, board_path, common_path
 global maincmd, subcmd, thirdcmd
-# 获取当前日期时间
-now = datetime.now()
-build_start_time_str = now.strftime("%Y_%m_%d_%H_%M_%S")
+
 #
 # Get build command parameter
 #
@@ -685,7 +682,7 @@ def aicos_build(cmd):
     global common_path
     global script_path
     global board_path
-    global build_start_time_str
+
     if cmd == "mkpkg":
         set_subsys_config("ap")
     else:
@@ -765,7 +762,7 @@ def aicos_build(cmd):
             suffix = "release"
         else:
             suffix = "debug"
-        suffix +="_{}".format(build_start_time_str)
+
         pkg_cfg_dir = targets_path  + "/" + chip_name + "/" + project_name + "/pkg"
         for root, dirs, files in os.walk(pkg_cfg_dir):
             for pkg_cfg_name in files:
@@ -1063,13 +1060,8 @@ def kconfig_build(subsys, kcfg_cmd):
         except:
             print("Unexpected error:", sys.exc_info())
             exit(1)
-def add_make_time_file():
-    global build_start_time_str
-    with open('aicos/app/AI_AMP_2_5/bk_make_time.h', 'w', encoding='utf-8') as file:
-        file.write('const char *bk_make_timer = \"{}\";\n'.format(build_start_time_str))
+
 if __name__ == '__main__':
-    #创建版本.h文件
-    add_make_time_file()
     # Init global board parameters.
     get_board_config()