diff --git a/AC701N.depend b/AC701N.depend index 1c7fb60..cae6060 100644 --- a/AC701N.depend +++ b/AC701N.depend @@ -132164,7 +132164,7 @@ "app_main.h" "tone_player.h" -1784803197 d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\include\app_main.h +1785135433 d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\include\app_main.h "bleproto.h" "bleproto_api.h" @@ -134230,7 +134230,7 @@ "rcsp_adv_bluetooth.h" "bt_tws.h" -1784867308 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\common\third_party_profile\jieli\jl_rcsp\bt_trans_data\le_rcsp_adv_module.c +1785142510 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\common\third_party_profile\jieli\jl_rcsp\bt_trans_data\le_rcsp_adv_module.c "system/app_core.h" "system/includes.h" "app_config.h" @@ -134919,7 +134919,7 @@ "bt_tws.h" "icsd_adt_app.h" -1784878086 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\app_main.c +1785135433 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\app_main.c "system/includes.h" "btstack/btstack_task.h" "app_config.h" @@ -135271,7 +135271,7 @@ "icsd_adt_app.h" "debug.h" -1784804410 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\default_event_handler.c +1785135433 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\default_event_handler.c "default_event_handler.h" "app_action.h" "bt_background.h" @@ -135308,7 +135308,7 @@ "debug.h" "update_tws_new.h" -1784804410 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\earphone.c +1785135433 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\earphone\earphone.c "system/includes.h" "media/includes.h" "tone_player.h" @@ -136062,7 +136062,7 @@ "mjson.h" -1784878066 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_le_adv.c +1785135433 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_le_adv.c "system/includes.h" "app_config.h" "app_main.h" @@ -136074,7 +136074,7 @@ "usr_usb_jb.h" "debug.h" -1784867441 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_le_recieve.c +1785142543 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_le_recieve.c "app_config.h" "asm/pwm_led.h" "tone_player.h" @@ -137193,7 +137193,7 @@ 1784880583 d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_usb_jb.h -1784882217 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_usb_jb.c +1785135673 source:d:\jianbao\project\蓝牙转接板-逗猫棒\sdk\apps\usr_le_code\usr_usb_jb.c "system/includes.h" "app_config.h" "vm.h" diff --git a/apps/usr_le_code/usr_le_recieve.c b/apps/usr_le_code/usr_le_recieve.c index 4359e29..14afa28 100644 --- a/apps/usr_le_code/usr_le_recieve.c +++ b/apps/usr_le_code/usr_le_recieve.c @@ -18,8 +18,8 @@ #if TCFG_USB_SLAVE_CDC_ENABLE #include "usb/device/cdc.h" #endif -#define LOG_TAG_CONST APP -#define LOG_TAG "[APP]" +#define LOG_TAG_CONST APP +#define LOG_TAG "[APP]" #define LOG_ERROR_ENABLE #define LOG_DEBUG_ENABLE #define LOG_INFO_ENABLE @@ -27,20 +27,19 @@ #define LOG_CLI_ENABLE #include "debug.h" -#define FIRM_PACK_LEN 2048//128 - -static u8 start_data[10]={0x55,0xAA,0xFE,0x61,0x06,0x00,0x00,0x00,0x00,0x00}; -static u8 end_data[2]={0xaa,0x55}; -static int encode_len=0x00; -static u8 txbuf[384]={0}; -static u8 rxbuf[FIRM_PACK_LEN+1024]={0}; -static u8 ota_source_data[FIRM_PACK_LEN*2]={0}; +#define FIRM_PACK_LEN 2048 // 128 +static u8 start_data[10] = {0x55, 0xAA, 0xFE, 0x61, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00}; +static u8 end_data[2] = {0xaa, 0x55}; +static int encode_len = 0x00; +static u8 txbuf[384] = {0}; +static u8 rxbuf[FIRM_PACK_LEN + 1024] = {0}; +static u8 ota_source_data[FIRM_PACK_LEN * 2] = {0}; extern u16 usr_get_conn_service(); extern void ble_multi_trans_disconnect(void); extern void usr_ble_adv_updata_OTA(); -extern void usr_ble_send_data(u8* data,u16 len); +extern void usr_ble_send_data(u8 *data, u16 len); extern void usr_write_pair_info(); extern void usr_clear_pair_info(); extern void usr_set_device_default(); @@ -52,15 +51,17 @@ void usr_data_ana(bleproto_appdata_desc_t *desc); void usr_do_action_code(int flag); void usr_app_ota_init(); void usr_test_protocol(void); +void usr_run_cmd_code(bleproto_runcmd_req_t *runcmd_par, u8 usr_msg_id); bleproto_authsetup_req_t usr_auth_data; -usr_module_cfg _usr_module_cfg; -usr_module_cfg_cache _usr_module_cfg_cache; +usr_module_cfg _usr_module_cfg; +usr_module_cfg_cache _usr_module_cfg_cache; void usr_read_device_sta() { int ret = syscfg_read(CFG_USER_DEVICE_STA, (u8 *)&_usr_module_cfg, sizeof(_usr_module_cfg)); - if (ret <= 0) { + if (ret <= 0) + { memset(&_usr_module_cfg, 0, sizeof(_usr_module_cfg)); _usr_module_cfg.power_on_flag = 1; syscfg_write(CFG_USER_DEVICE_STA, (u8 *)&_usr_module_cfg, sizeof(_usr_module_cfg)); @@ -88,29 +89,29 @@ void usr_write_device_sta() usr_write_device_sta_vm(); } -void usr_le_data_recieve(u8* data,u16 len)///BLE鏁版嵁鎺ユ敹 +void usr_le_data_recieve(u8 *data, u16 len) /// BLE鏁版嵁鎺ユ敹 { - log_info("le recieve: %s",&data[2]); + log_info("le recieve: %s", &data[2]); printf_buf(data, len); - static u16 usr_len=0; + static u16 usr_len = 0; bleproto_appdata_desc_t desc; - int rc_result=0; + int rc_result = 0; - memcpy(&rxbuf[usr_len],data,len); - usr_len+=len; + memcpy(&rxbuf[usr_len], data, len); + usr_len += len; rc_result = bleproto_appdata_decode(rxbuf, usr_len, &desc); - if(rc_result < 0) + if (rc_result < 0) { - usr_len=0; + usr_len = 0; } - else if(rc_result == 0) + else if (rc_result == 0) { /* incomplete frame */ } else { - usr_len=0; + usr_len = 0; usr_data_ana(&desc); } } @@ -127,397 +128,462 @@ void usr_set_device_default() void usr_data_ana(bleproto_appdata_desc_t *desc) { - bleproto_appdata_desc_t encode_desc = { 0 }; - if(desc->header.msgtype/*desc.header.msgtype*/ == BLEPROTO_APPDATA_MSGTYPE_REQ) { - switch(desc->header.serviceid){ + bleproto_appdata_desc_t encode_desc = {0}; + if (desc->header.msgtype /*desc.header.msgtype*/ == BLEPROTO_APPDATA_MSGTYPE_REQ) + { + switch (desc->header.serviceid) + { - case E_BLEPROTO_SERVICE_ID_DEVICEINFO: + case E_BLEPROTO_SERVICE_ID_DEVICEINFO: - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; - encode_desc.header.msgid = desc->header.msgid;//杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_DEVICEINFO; + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; + encode_desc.header.msgid = desc->header.msgid; // 杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_DEVICEINFO; - /* deviceinfo 鏃堕棿瀛楁蹇界暐锛氭ˉ鎺ユ澘鏃 RTC/璁″垝涓氬姟 */ - (void)desc->datast.deviceinfo_req.t; - (void)desc->datast.deviceinfo_req.gmtoff; - //deviceinfo rsp搴忓垪鍖 - bleproto_deviceinfo_rsp_t *rsp = &encode_desc.datast.deviceinfo_rsp; - { - // 濉啓璁惧鐩稿叧淇℃伅 - rsp->hbcycle=1000; - strcpy(rsp->swv, "V1.0.0.19"); - strcpy(rsp->hwv, "V1.0.0.01"); - rsp->longcon=1; - rsp->prototype=4; - } - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - printf("encode_len = %d\n",encode_len); - // 璋冪敤钃濈墮鍗忚鏍堝彂閫佹暟鎹帴鍙o紝灏嗘暟鎹竴鍖呬竴鍖呯殑鍙戦佸嚭鍘 - // 绗竴鍖咃細packetlen - // 绗簩鍖咃細packetlen - // ...... - // 绗琋鍖: totallen - (packetlen * (N -1)) - usr_ble_send_data(txbuf,encode_len); - } - else - { - printf("2encode_len = %d\n",encode_len); - } - //printf("E_BLEPROTO_SERVICE_ID_DEVICEINFO\n"); - break; - case E_BLEPROTO_SERVICE_ID_AUTHSETUP: - // 璁惧澶勭悊锛屽洖澶嶅搷搴 - printf("E_BLEPROTO_SERVICE_ID_AUTHSETUP\n"); - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; - encode_desc.header.msgid = desc->header.msgid;//杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_AUTHSETUP; + /* deviceinfo 鏃堕棿瀛楁蹇界暐锛氭ˉ鎺ユ澘鏃 RTC/璁″垝涓氬姟 */ + (void)desc->datast.deviceinfo_req.t; + (void)desc->datast.deviceinfo_req.gmtoff; + // deviceinfo rsp搴忓垪鍖 + bleproto_deviceinfo_rsp_t *rsp = &encode_desc.datast.deviceinfo_rsp; + { + // 濉啓璁惧鐩稿叧淇℃伅 + rsp->hbcycle = 1000; + strcpy(rsp->swv, "V1.0.0.19"); + strcpy(rsp->hwv, "V1.0.0.01"); + rsp->longcon = 1; + rsp->prototype = 4; + } + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + printf("encode_len = %d\n", encode_len); + // 璋冪敤钃濈墮鍗忚鏍堝彂閫佹暟鎹帴鍙o紝灏嗘暟鎹竴鍖呬竴鍖呯殑鍙戦佸嚭鍘 + // 绗竴鍖咃細packetlen + // 绗簩鍖咃細packetlen + // ...... + // 绗琋鍖: totallen - (packetlen * (N -1)) + usr_ble_send_data(txbuf, encode_len); + } + else + { + printf("2encode_len = %d\n", encode_len); + } + // printf("E_BLEPROTO_SERVICE_ID_DEVICEINFO\n"); + break; + case E_BLEPROTO_SERVICE_ID_AUTHSETUP: + // 璁惧澶勭悊锛屽洖澶嶅搷搴 + printf("E_BLEPROTO_SERVICE_ID_AUTHSETUP\n"); + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; + encode_desc.header.msgid = desc->header.msgid; // 杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_AUTHSETUP; - bleproto_authsetup_rsp_t *au_rsp = &encode_desc.datast.authsetup_rsp; - au_rsp->errcode=0; + bleproto_authsetup_rsp_t *au_rsp = &encode_desc.datast.authsetup_rsp; + au_rsp->errcode = 0; - memcpy(&usr_auth_data,&desc->datast.authsetup_req,sizeof(usr_auth_data)); - { - // 淇濆瓨涓夊厓缁 - if(usr_auth_data.paired_flag==0) - { - usr_write_pair_info(); - printf("usr_auth_data %s %s ",usr_auth_data.authcode,usr_auth_data.devid); - printf_buf(usr_auth_data.gwmac,6); - } - } - - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - printf("encode_len = %d\n",encode_len); - usr_ble_send_data(txbuf,encode_len); - } - else - { - printf("2encode_len = %d\n",encode_len); - } - break; - case E_BLEPROTO_SERVICE_ID_AUTHDELETE: - // 璁惧澶勭悊锛屽洖澶嶅搷搴 - printf("E_BLEPROTO_SERVICE_ID_AUTHDELETE\n"); - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; - encode_desc.header.msgid = desc->header.msgid;//杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_AUTHSETUP; - - bleproto_authdelete_rsp_t *aude_rsp = &encode_desc.datast.authdelete_rsp; - memcpy(aude_rsp->gwmac,usr_auth_data.gwmac,6); - if(!memcmp(usr_auth_data.authcode,desc->datast.authdelete_req.authcode,32)) - { - aude_rsp->errcode=0; - usr_set_device_default(); - usr_clear_pair_info(); - } - else - { - aude_rsp->errcode=501; - } - - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - printf("encode_len = %d\n",encode_len); - usr_ble_send_data(txbuf,encode_len); - } - else - { - printf("2encode_len = %d\n",encode_len); - } - break; - case E_BLEPROTO_SERVICE_ID_DOACTION: - printf("E_BLEPROTO_SERVICE_ID_DOACTION\n"); - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; - encode_desc.header.msgid = desc->header.msgid; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_DOACTION; - encode_desc.datast.doaction_rsp.errcode = 0; - { - bleproto_doaction_rsp_t *action_rsp = &encode_desc.datast.doaction_rsp; - action_rsp->errcode = 0; - printf("action_run %d \n", desc->datast.doaction_req.action); - } - - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if (encode_len > 0) { - usr_ble_send_data(txbuf, encode_len); - usr_do_action_code(desc->datast.doaction_req.action); - } - break; - case E_BLEPROTO_SERVICE_ID_OTANOTIFY: - printf("E_BLEPROTO_SERVICE_ID_OTANOTIFY\n"); - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; - encode_desc.header.msgid = desc->header.msgid;//杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTANOTIFY; - encode_desc.datast.doaction_rsp.errcode = 0; - - bleproto_otanotify_rsp_t *in_ota_rsp = &encode_desc.datast.otanotify_rsp; - - bleproto_otanotify_req_t *in_ota_data2= &desc->datast.otanotify_req; - printf("in_ota_data id = %d\n",in_ota_data2->id); - printf("in_ota_data ver = %s\n",in_ota_data2->version); - printf("in_ota_data size= %d\n",in_ota_data2->size); - printf("in_ota_data md5 = %s\n",in_ota_data2->md5); - { - in_ota_rsp->errcode=0; - // 鎵ц鍛戒护 - } - - usr_var.usr_ota_data_id = in_ota_data2->id;//int - usr_var.usr_ota_data_size = in_ota_data2->size; - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - printf("encode_len = %d\n",encode_len); - usr_ble_send_data(txbuf,encode_len); - } - else - { - printf("2encode_len = %d\n",encode_len); - } - - usr_var.usr_allow_to_flash=0; - usr_var.usr_data_index=0; - start_data[2]=usr_var.usr_ota_data_size&0x000000ff; - start_data[3]=(usr_var.usr_ota_data_size>>8)&0x000000ff; - start_data[4]=(usr_var.usr_ota_data_size>>16)&0x000000ff; - start_data[5]=(usr_var.usr_ota_data_size>>24)&0x000000ff; - dual_ota_app_data_deal(0,start_data,10); - printf("#### buf total size = %d\n",usr_var.usr_ota_data_size); - printf_buf(start_data,10); - - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_REQ; - encode_desc.header.msgid = 0;//desc->header.msgid; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTADATA; - encode_desc.datast.doaction_rsp.errcode = 0; - - encode_desc.datast.otadata_req.id=usr_var.usr_ota_data_id; - encode_desc.datast.otadata_req.offset=usr_var.usr_data_index; - encode_desc.datast.otadata_req.maxsize=FIRM_PACK_LEN; - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - usr_ble_send_data(txbuf,encode_len); - } - else - { - printf("2encode_len err = %d\n",encode_len); - } - - if(usr_var.usr_double_ota_timer_id==0) - { - clk_set("sys", 48 * 1000000L); - usr_var.usr_double_ota_timer_id=1; - //clk_set("sys", 120 * 1000000L); - os_task_create(usr_ota_deal_task, NULL, 31, FIRM_PACK_LEN, 0, "usr_ota"); - } - - break; - case E_BLEPROTO_SERVICE_ID_OTADATA: - printf("E_BLEPROTO_SERVICE_ID_OTADATA\n"); - break; - case E_BLEPROTO_SERVICE_ID_RUNCMD_V2: + memcpy(&usr_auth_data, &desc->datast.authsetup_req, sizeof(usr_auth_data)); + { + // 淇濆瓨涓夊厓缁 + if (usr_auth_data.paired_flag == 0) { - ble_proto_packet_t *pkt = &desc->datast.runcmd_v2_req; - printf("E_BLEPROTO_SERVICE_ID_RUNCMD_V2 cmd=%d bytes_len=%d\n", - pkt->cmd, pkt->device_bytes_len); + usr_write_pair_info(); + printf("usr_auth_data %s %s ", usr_auth_data.authcode, usr_auth_data.devid); + printf_buf(usr_auth_data.gwmac, 6); + } + } + + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + printf("encode_len = %d\n", encode_len); + usr_ble_send_data(txbuf, encode_len); + } + else + { + printf("2encode_len = %d\n", encode_len); + } + break; + case E_BLEPROTO_SERVICE_ID_AUTHDELETE: + // 璁惧澶勭悊锛屽洖澶嶅搷搴 + printf("E_BLEPROTO_SERVICE_ID_AUTHDELETE\n"); + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; + encode_desc.header.msgid = desc->header.msgid; // 杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_AUTHSETUP; + + bleproto_authdelete_rsp_t *aude_rsp = &encode_desc.datast.authdelete_rsp; + memcpy(aude_rsp->gwmac, usr_auth_data.gwmac, 6); + if (!memcmp(usr_auth_data.authcode, desc->datast.authdelete_req.authcode, 32)) + { + aude_rsp->errcode = 0; + usr_set_device_default(); + usr_clear_pair_info(); + } + else + { + aude_rsp->errcode = 501; + } + + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + printf("encode_len = %d\n", encode_len); + usr_ble_send_data(txbuf, encode_len); + } + else + { + printf("2encode_len = %d\n", encode_len); + } + break; + case E_BLEPROTO_SERVICE_ID_RUNCMD: + printf("E_BLEPROTO_SERVICE_ID_RUNCMD\n"); + usr_run_cmd_code(&desc->datast.runcmd_req, desc->header.msgid); + break; + case E_BLEPROTO_SERVICE_ID_REPORTCMD: + printf("E_BLEPROTO_SERVICE_ID_REPORTCMD\n"); + break; + case E_BLEPROTO_SERVICE_ID_DOACTION: + printf("E_BLEPROTO_SERVICE_ID_DOACTION\n"); + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; + encode_desc.header.msgid = desc->header.msgid; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_DOACTION; + encode_desc.datast.doaction_rsp.errcode = 0; + { + bleproto_doaction_rsp_t *action_rsp = &encode_desc.datast.doaction_rsp; + action_rsp->errcode = 0; + printf("action_run %d \n", desc->datast.doaction_req.action); + } + + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + usr_ble_send_data(txbuf, encode_len); + usr_do_action_code(desc->datast.doaction_req.action); + } + break; + case E_BLEPROTO_SERVICE_ID_OTANOTIFY: + printf("E_BLEPROTO_SERVICE_ID_OTANOTIFY\n"); + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; + encode_desc.header.msgid = desc->header.msgid; // 杩欓噷鐨刴sg_id涓轰笂闈㈣В鏋愬埌鐨勫寘鐨刴sg_id; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTANOTIFY; + encode_desc.datast.doaction_rsp.errcode = 0; + + bleproto_otanotify_rsp_t *in_ota_rsp = &encode_desc.datast.otanotify_rsp; + + bleproto_otanotify_req_t *in_ota_data2 = &desc->datast.otanotify_req; + printf("in_ota_data id = %d\n", in_ota_data2->id); + printf("in_ota_data ver = %s\n", in_ota_data2->version); + printf("in_ota_data size= %d\n", in_ota_data2->size); + printf("in_ota_data md5 = %s\n", in_ota_data2->md5); + { + in_ota_rsp->errcode = 0; + // 鎵ц鍛戒护 + } + + usr_var.usr_ota_data_id = in_ota_data2->id; // int + usr_var.usr_ota_data_size = in_ota_data2->size; + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + printf("encode_len = %d\n", encode_len); + usr_ble_send_data(txbuf, encode_len); + } + else + { + printf("2encode_len = %d\n", encode_len); + } + + usr_var.usr_allow_to_flash = 0; + usr_var.usr_data_index = 0; + start_data[2] = usr_var.usr_ota_data_size & 0x000000ff; + start_data[3] = (usr_var.usr_ota_data_size >> 8) & 0x000000ff; + start_data[4] = (usr_var.usr_ota_data_size >> 16) & 0x000000ff; + start_data[5] = (usr_var.usr_ota_data_size >> 24) & 0x000000ff; + dual_ota_app_data_deal(0, start_data, 10); + printf("#### buf total size = %d\n", usr_var.usr_ota_data_size); + printf_buf(start_data, 10); + + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_REQ; + encode_desc.header.msgid = 0; // desc->header.msgid; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTADATA; + encode_desc.datast.doaction_rsp.errcode = 0; + + encode_desc.datast.otadata_req.id = usr_var.usr_ota_data_id; + encode_desc.datast.otadata_req.offset = usr_var.usr_data_index; + encode_desc.datast.otadata_req.maxsize = FIRM_PACK_LEN; + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + usr_ble_send_data(txbuf, encode_len); + } + else + { + printf("2encode_len err = %d\n", encode_len); + } + + if (usr_var.usr_double_ota_timer_id == 0) + { + clk_set("sys", 48 * 1000000L); + usr_var.usr_double_ota_timer_id = 1; + // clk_set("sys", 120 * 1000000L); + os_task_create(usr_ota_deal_task, NULL, 31, FIRM_PACK_LEN, 0, "usr_ota"); + } + + break; + case E_BLEPROTO_SERVICE_ID_OTADATA: + printf("E_BLEPROTO_SERVICE_ID_OTADATA\n"); + break; + case E_BLEPROTO_SERVICE_ID_RUNCMD_V2: + { + ble_proto_packet_t *pkt = &desc->datast.runcmd_v2_req; + printf("E_BLEPROTO_SERVICE_ID_RUNCMD_V2 cmd=%d bytes_len=%d\n", + pkt->cmd, pkt->device_bytes_len); #if TCFG_USB_SLAVE_CDC_ENABLE - /* 閫忎紶 device bytes 鍒 USB CDC锛堜覆鍙e姪鎵嬪彲瑙侊級 */ - if (pkt->bytes_data && pkt->device_bytes_len > 0) { - u32 wlen = cdc_write_data(0, (u8 *)pkt->bytes_data, pkt->device_bytes_len); - printf("cdc_write_data %u/%u\n", wlen, (u32)pkt->device_bytes_len); - if (wlen == 0) { - printf("cdc write fail: USB not ready(DTR) or CDC not started\n"); - } - } else { - printf("runcmd_v2 no bytes payload\n"); - } + /* 閫忎紶 device bytes 鍒 USB CDC锛堜覆鍙e姪鎵嬪彲瑙侊級 */ + if (pkt->bytes_data && pkt->device_bytes_len > 0) + { + u32 wlen = cdc_write_data(0, (u8 *)pkt->bytes_data, pkt->device_bytes_len); + printf("cdc_write_data %u/%u\n", wlen, (u32)pkt->device_bytes_len); + if (wlen == 0) + { + printf("cdc write fail: USB not ready(DTR) or CDC not started\n"); + } + } + else + { + printf("runcmd_v2 no bytes payload\n"); + } #else - printf("TCFG_USB_SLAVE_CDC_ENABLE not enable\n"); + printf("TCFG_USB_SLAVE_CDC_ENABLE not enable\n"); #endif + break; + } + default: + break; + } + } + else if (desc->header.msgtype == BLEPROTO_APPDATA_MSGTYPE_RSP) + { + switch (desc->header.serviceid) + { + case E_BLEPROTO_SERVICE_ID_REPORTCMD: + // 涓绘帶鍥炲鐨勫搷搴旓紝璁惧澶勭悊 + printf("E_BLEPROTO_SERVICE_ID_REPORTCMD\n"); + printf("cmd id = %d", desc->datast.reportcmd_rsp.errcode); + + break; + case E_BLEPROTO_SERVICE_ID_OTADATA: + bleproto_otadata_rsp_t *ota_data_rsp = &desc->datast.otadata_rsp; + // printf("errcode = %d offset = %d len = %d\n",ota_data_rsp->errcode,ota_data_rsp->offset,ota_data_rsp->len); + uart_tr_send_data(ota_data_rsp->data, ota_data_rsp->len); + memcpy(&ota_source_data[usr_var.usr_allow_to_flash], ota_data_rsp->data, ota_data_rsp->len); + usr_var.usr_allow_to_flash += ota_data_rsp->len; + usr_var.usr_start_write_flash = 0; + if (usr_var.usr_allow_to_flash >= (FIRM_PACK_LEN * 2)) // 0 - 1024 + // 1024 - 2048 + // 2048 - 3072 + // 3072 - 4096 + { + usr_var.usr_start_write_flash = 1; + } + else + { + usr_var.usr_data_index += FIRM_PACK_LEN; + if (usr_var.usr_data_index >= usr_var.usr_ota_data_size) + { + usr_var.usr_start_write_flash = 2; break; } - default: - break; - } - }else if(desc->header.msgtype == BLEPROTO_APPDATA_MSGTYPE_RSP) { - switch(desc->header.serviceid) { - case E_BLEPROTO_SERVICE_ID_REPORTCMD: - // 涓绘帶鍥炲鐨勫搷搴旓紝璁惧澶勭悊 - printf("E_BLEPROTO_SERVICE_ID_REPORTCMD\n"); - printf("cmd id = %d",desc->datast.reportcmd_rsp.errcode); + // bleproto_appdata_desc_t encode_desc = { 0 }; + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_REQ; + encode_desc.header.msgid = 0; // desc->header.msgid; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTADATA; + encode_desc.datast.doaction_rsp.errcode = 0; - break; - case E_BLEPROTO_SERVICE_ID_OTADATA: - bleproto_otadata_rsp_t *ota_data_rsp = &desc->datast.otadata_rsp; - //printf("errcode = %d offset = %d len = %d\n",ota_data_rsp->errcode,ota_data_rsp->offset,ota_data_rsp->len); - uart_tr_send_data(ota_data_rsp->data,ota_data_rsp->len); - memcpy(&ota_source_data[usr_var.usr_allow_to_flash],ota_data_rsp->data,ota_data_rsp->len); - usr_var.usr_allow_to_flash+=ota_data_rsp->len; - usr_var.usr_start_write_flash=0; - if(usr_var.usr_allow_to_flash>=(FIRM_PACK_LEN*2))//0 - 1024 - //1024 - 2048 - //2048 - 3072 - //3072 - 4096 - { - usr_var.usr_start_write_flash=1; - } - else - { - usr_var.usr_data_index+=FIRM_PACK_LEN; - if(usr_var.usr_data_index>=usr_var.usr_ota_data_size) - { - usr_var.usr_start_write_flash=2; - break; - } - //bleproto_appdata_desc_t encode_desc = { 0 }; - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_REQ; - encode_desc.header.msgid = 0;//desc->header.msgid; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTADATA; - encode_desc.datast.doaction_rsp.errcode = 0; - - encode_desc.datast.otadata_req.id=usr_var.usr_ota_data_id; - encode_desc.datast.otadata_req.offset=usr_var.usr_data_index; - encode_desc.datast.otadata_req.maxsize=FIRM_PACK_LEN; - encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - usr_ble_send_data(txbuf,encode_len); - } - else - { - printf("2encode_len err = %d\n",encode_len); - } - - - } - break; + encode_desc.datast.otadata_req.id = usr_var.usr_ota_data_id; + encode_desc.datast.otadata_req.offset = usr_var.usr_data_index; + encode_desc.datast.otadata_req.maxsize = FIRM_PACK_LEN; + encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); + if (encode_len > 0) + { + usr_ble_send_data(txbuf, encode_len); + } + else + { + printf("2encode_len err = %d\n", encode_len); + } } + break; } + } } +void usr_run_cmd_code(bleproto_runcmd_req_t *runcmd_par, u8 usr_msg_id) +{ + printf("runcmd_par id = %d\n", runcmd_par->ycmd.cmd_id); + + bleproto_appdata_desc_t encode_desc = {0}; + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_RSP; + encode_desc.header.msgid = usr_msg_id; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_RUNCMD; + + bleproto_runcmd_rsp_t *rsp = &encode_desc.datast.runcmd_rsp; + + switch (runcmd_par->ycmd.cmd_id) + { + case 600: + /* + | 绱㈠紩 | 绫诲瀷 | 鎻忚堪 | 鍙栧 | + | ---- | ----- | ---------------- | ------------------------------------------------- | + | 0 | int32 | cmdid | 600 | + | 1 | int32 | 杩斿洖鍊 | 0: 璁惧鎺ュ彈鍛戒护鎴愬姛; 闈為浂: 鍙傝鍏蜂綋鐨勫懡浠ら敊璇唬鐮 | + */ + rsp->ycmd.cmd_id = 110; + rsp->ycmd.arg_int32_count = 9; + rsp->ycmd.arg_string_count = 0; + rsp->ycmd.arg_bytes_count = 0; + rsp->ycmd.arg_int32[0] = 600; + rsp->ycmd.arg_int32[1] = 0; // 0锛氬懡浠ゆ帴鏀舵垚鍔 + memcpy(rsp->ycmd.arg_int32 + 2, 0, 7); + rsp->ycmd.t = usr_var.usr_cureent_utc; // UTC鏃堕棿鎴; + break; + default: + break; + } + + int encode_len = bleproto_appdata_encode( + /* txbuf */ txbuf, + /* size */ sizeof(txbuf), + /* packetlen */ sizeof(txbuf), + /* desc */ &encode_desc); + printf("encode_len = %d\n", encode_len); + if (encode_len > 0) + { + usr_ble_send_data(txbuf, encode_len); + } +} -extern void nvram_set_boot_state(u32 state); -extern void hw_mmu_disable(void); extern void ram_protect_close(void); AT(.volatile_ram_code) void usr_update_init() { - //local_irq_disable(); ram_protect_close(); - //hw_mmu_disable(); - //nvram_set_boot_state(2); - - //JL_CLOCK->PWR_CON |= (1 << 4); - /* chip_reset(); */ - /* cpu_reset(); */ - //while (1); } void usr_ota_deal_task() { usr_update_init(); os_time_dly(5); - bleproto_appdata_desc_t encode_desc = { 0 }; - while(1) + bleproto_appdata_desc_t encode_desc = {0}; + while (1) { - if(usr_var.usr_ota_succ_flag==0) + if (usr_var.usr_ota_succ_flag == 0) { - if(usr_var.usr_start_write_flash==1) + if (usr_var.usr_start_write_flash == 1) { - //OS_ENTER_CRITICAL(); - usr_var.usr_data_index+=FIRM_PACK_LEN; - usr_var.usr_start_write_flash=0; - dual_ota_app_data_deal(0,ota_source_data,usr_var.usr_allow_to_flash); + // OS_ENTER_CRITICAL(); + usr_var.usr_data_index += FIRM_PACK_LEN; + usr_var.usr_start_write_flash = 0; + dual_ota_app_data_deal(0, ota_source_data, usr_var.usr_allow_to_flash); os_time_dly(1); - //OS_EXIT_CRITICAL(); - //printf("usr_var.usr_allow_to_flash = %d\n",usr_var.usr_allow_to_flash); - usr_var.usr_allow_to_flash=0; + // OS_EXIT_CRITICAL(); + // printf("usr_var.usr_allow_to_flash = %d\n",usr_var.usr_allow_to_flash); + usr_var.usr_allow_to_flash = 0; - encode_desc.header.version = 0; - encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; - encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_REQ; - encode_desc.header.msgid = 0;//desc->header.msgid; - encode_desc.header.encrypt = 0; - encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTADATA; - encode_desc.datast.doaction_rsp.errcode = 0; + encode_desc.header.version = 0; + encode_desc.header.datafmt = BLEPROTO_APPDATA_DATAFMT_JSON; + encode_desc.header.msgtype = BLEPROTO_APPDATA_MSGTYPE_REQ; + encode_desc.header.msgid = 0; // desc->header.msgid; + encode_desc.header.encrypt = 0; + encode_desc.header.serviceid = E_BLEPROTO_SERVICE_ID_OTADATA; + encode_desc.datast.doaction_rsp.errcode = 0; - encode_desc.datast.otadata_req.id=usr_var.usr_ota_data_id; - encode_desc.datast.otadata_req.offset=usr_var.usr_data_index; - encode_desc.datast.otadata_req.maxsize=FIRM_PACK_LEN; + encode_desc.datast.otadata_req.id = usr_var.usr_ota_data_id; + encode_desc.datast.otadata_req.offset = usr_var.usr_data_index; + encode_desc.datast.otadata_req.maxsize = FIRM_PACK_LEN; encode_len = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); - if(encode_len > 0) { - usr_ble_send_data(txbuf,encode_len); + if (encode_len > 0) + { + usr_ble_send_data(txbuf, encode_len); } else { - printf("2encode_len err = %d\n",encode_len); + printf("2encode_len err = %d\n", encode_len); } } - else if(usr_var.usr_start_write_flash==2) + else if (usr_var.usr_start_write_flash == 2) { - printf("usr_start_write_flash = %d\n",usr_var.usr_start_write_flash); - usr_var.usr_start_write_flash=0; - //OS_ENTER_CRITICAL(); - dual_ota_app_data_deal(0,ota_source_data,usr_var.usr_allow_to_flash); - //OS_EXIT_CRITICAL(); - printf("usr_var.usr_allow_to_flash = %d\n",usr_var.usr_allow_to_flash); - usr_var.usr_allow_to_flash=0; + printf("usr_start_write_flash = %d\n", usr_var.usr_start_write_flash); + usr_var.usr_start_write_flash = 0; + // OS_ENTER_CRITICAL(); + dual_ota_app_data_deal(0, ota_source_data, usr_var.usr_allow_to_flash); + // OS_EXIT_CRITICAL(); + printf("usr_var.usr_allow_to_flash = %d\n", usr_var.usr_allow_to_flash); + usr_var.usr_allow_to_flash = 0; os_time_dly(30); - dual_ota_app_data_deal(0,end_data,2); + dual_ota_app_data_deal(0, end_data, 2); } } os_time_dly(10); - // putchar('6'); + // putchar('6'); } } #endif // 0 - void usr_ota_process() { static u8 cnt = 0; - if (cnt == 0) { + if (cnt == 0) + { ble_multi_trans_disconnect(); } - if (usr_get_conn_service() == 0) { + if (usr_get_conn_service() == 0) + { cnt++; - if (cnt == 2) { + if (cnt == 2) + { usr_ble_adv_updata_OTA(); } - if (cnt >= 60) { + if (cnt >= 60) + { cnt = 0; cpu_reset(); } - } else { + } + else + { cnt = 1; } } void usr_do_action_code(int flag) { - switch (flag) { + switch (flag) + { case 0: /* reboot */ cpu_reset(); break; @@ -539,7 +605,8 @@ void usr_do_action_code(int flag) void usr_app_ota_init() { usr_var.usr_goto_updata = 1; - if (usr_var.ota_timer == 0) { + if (usr_var.ota_timer == 0) + { usr_var.ota_timer = sys_timer_add(NULL, usr_ota_process, 1000); } } @@ -566,7 +633,8 @@ void usr_test_protocol(void) int elen = bleproto_appdata_encode(txbuf, sizeof(txbuf), sizeof(txbuf), &encode_desc); printf("encode_len = %d\n", elen); - if (elen > 0) { + if (elen > 0) + { usr_ble_send_data(txbuf, elen); printf_buf(txbuf, elen); } diff --git a/cpu/br28/tools/app.bin b/cpu/br28/tools/app.bin index aab5e18..bc7d048 100644 Binary files a/cpu/br28/tools/app.bin and b/cpu/br28/tools/app.bin differ diff --git a/cpu/br28/tools/data_code.bin b/cpu/br28/tools/data_code.bin index 7b4debb..9e8fd09 100644 Binary files a/cpu/br28/tools/data_code.bin and b/cpu/br28/tools/data_code.bin differ diff --git a/cpu/br28/tools/download/earphone/db_update_data.bin b/cpu/br28/tools/download/earphone/db_update_data.bin index 571179a..a9d5c01 100644 Binary files a/cpu/br28/tools/download/earphone/db_update_data.bin and b/cpu/br28/tools/download/earphone/db_update_data.bin differ diff --git a/cpu/br28/tools/download/earphone/jl_isd.bin b/cpu/br28/tools/download/earphone/jl_isd.bin index 8d9fa36..92ee156 100644 Binary files a/cpu/br28/tools/download/earphone/jl_isd.bin and b/cpu/br28/tools/download/earphone/jl_isd.bin differ diff --git a/cpu/br28/tools/download/earphone/jl_isd.fw b/cpu/br28/tools/download/earphone/jl_isd.fw index c7d3902..138e6bc 100644 Binary files a/cpu/br28/tools/download/earphone/jl_isd.fw and b/cpu/br28/tools/download/earphone/jl_isd.fw differ diff --git a/cpu/br28/tools/download/earphone/update.ufw b/cpu/br28/tools/download/earphone/update.ufw index 2c07a06..fe08784 100644 Binary files a/cpu/br28/tools/download/earphone/update.ufw and b/cpu/br28/tools/download/earphone/update.ufw differ diff --git a/cpu/br28/tools/sdk.elf b/cpu/br28/tools/sdk.elf index 0fe91a6..7af7b3d 100644 Binary files a/cpu/br28/tools/sdk.elf and b/cpu/br28/tools/sdk.elf differ diff --git a/cpu/br28/tools/sdk.elf.0.0.preopt.bc b/cpu/br28/tools/sdk.elf.0.0.preopt.bc index b9c361f..66eca3b 100644 Binary files a/cpu/br28/tools/sdk.elf.0.0.preopt.bc and b/cpu/br28/tools/sdk.elf.0.0.preopt.bc differ diff --git a/cpu/br28/tools/sdk.elf.0.2.internalize.bc b/cpu/br28/tools/sdk.elf.0.2.internalize.bc index 7e36aa4..05073f0 100644 Binary files a/cpu/br28/tools/sdk.elf.0.2.internalize.bc and b/cpu/br28/tools/sdk.elf.0.2.internalize.bc differ diff --git a/cpu/br28/tools/sdk.elf.0.4.opt.bc b/cpu/br28/tools/sdk.elf.0.4.opt.bc index 9e18180..81b28d1 100644 Binary files a/cpu/br28/tools/sdk.elf.0.4.opt.bc and b/cpu/br28/tools/sdk.elf.0.4.opt.bc differ diff --git a/cpu/br28/tools/sdk.elf.0.5.precodegen.bc b/cpu/br28/tools/sdk.elf.0.5.precodegen.bc index 9e18180..81b28d1 100644 Binary files a/cpu/br28/tools/sdk.elf.0.5.precodegen.bc and b/cpu/br28/tools/sdk.elf.0.5.precodegen.bc differ diff --git a/cpu/br28/tools/sdk.elf.o b/cpu/br28/tools/sdk.elf.o index d79750d..b14a412 100644 Binary files a/cpu/br28/tools/sdk.elf.o and b/cpu/br28/tools/sdk.elf.o differ diff --git a/cpu/br28/tools/sdk.elf.resolution.txt b/cpu/br28/tools/sdk.elf.resolution.txt index c097234..117cf39 100644 --- a/cpu/br28/tools/sdk.elf.resolution.txt +++ b/cpu/br28/tools/sdk.elf.resolution.txt @@ -3338,6 +3338,7 @@ obj/Release/apps/usr_le_code/usr_le_recieve.o -r=obj/Release/apps/usr_le_code/usr_le_recieve.o,usr_write_pair_info,l -r=obj/Release/apps/usr_le_code/usr_le_recieve.o,memcmp,l -r=obj/Release/apps/usr_le_code/usr_le_recieve.o,usr_clear_pair_info,l +-r=obj/Release/apps/usr_le_code/usr_le_recieve.o,usr_run_cmd_code,pl -r=obj/Release/apps/usr_le_code/usr_le_recieve.o,usr_do_action_code,pl -r=obj/Release/apps/usr_le_code/usr_le_recieve.o,dual_ota_app_data_deal,l -r=obj/Release/apps/usr_le_code/usr_le_recieve.o,clk_set,l diff --git a/cpu/br28/tools/sdk.map b/cpu/br28/tools/sdk.map index 70704b6..1b97c3b 100644 --- a/cpu/br28/tools/sdk.map +++ b/cpu/br28/tools/sdk.map @@ -2690,425 +2690,425 @@ END GROUP 0x0000000a EQ_SECTION_NUM = 0xa 0x06000100 . = ORIGIN (code0) -.text 0x06000100 0x4fa64 +.text 0x06000100 0x4fb1c [!provide] PROVIDE (text_rodata_begin, .) *(.startup.text) .startup.text 0x06000100 0xaa cpu/br28/liba/cpu.a(startup.S.o) 0x06000100 _start *(.text) - .text 0x060001aa 0x13f38 cpu\br28\tools\sdk.elf.o - 0x060098f8 update_result_get - 0x060099c4 __errno - .text 0x060140e2 0x10c C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-strtol.o) - 0x060140e2 _strtol_r - 0x060141d4 strtol - .text 0x060141ee 0x1c C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-strtoull.o) - 0x060141ee strtoull - .text 0x0601420a 0x14a C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-strtoull_r.o) - 0x0601420a _strtoull_r - .text 0x06014354 0x346 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(divdf3.o) - 0x0601438a __divdf3 - .text 0x0601469a 0x4c C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(floatsidf.o) - 0x0601469a __floatsidf - .text 0x060146e6 0x2fa C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(muldf3.o) - 0x0601471c __muldf3 - .text 0x060149e0 0xc C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(subdf3.o) - 0x060149e0 __subdf3 - .text 0x060149ec 0x12 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(udivdi3.o) - 0x060149ec __udivdi3 - .text 0x060149fe 0x16 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(umoddi3.o) - 0x060149fe __umoddi3 - .text 0x06014a14 0x7a C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(extendsfdf2.o) - 0x06014a14 __extendsfdf2 - .text 0x06014a8e 0x3c C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(fixunsdfsi.o) - 0x06014a8e __fixunsdfsi - .text 0x06014aca 0x34 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(floatunsidf.o) - 0x06014aca __floatunsidf - 0x06014b00 . = ALIGN (0x4) - *fill* 0x06014afe 0x2 - 0x06014b00 update_target_begin = . + .text 0x060001aa 0x13fe8 cpu\br28\tools\sdk.elf.o + 0x060099b2 update_result_get + 0x06009a7e __errno + .text 0x06014192 0x10c C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-strtol.o) + 0x06014192 _strtol_r + 0x06014284 strtol + .text 0x0601429e 0x1c C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-strtoull.o) + 0x0601429e strtoull + .text 0x060142ba 0x14a C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-strtoull_r.o) + 0x060142ba _strtoull_r + .text 0x06014404 0x346 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(divdf3.o) + 0x0601443a __divdf3 + .text 0x0601474a 0x4c C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(floatsidf.o) + 0x0601474a __floatsidf + .text 0x06014796 0x2fa C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(muldf3.o) + 0x060147cc __muldf3 + .text 0x06014a90 0xc C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(subdf3.o) + 0x06014a90 __subdf3 + .text 0x06014a9c 0x12 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(udivdi3.o) + 0x06014a9c __udivdi3 + .text 0x06014aae 0x16 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(umoddi3.o) + 0x06014aae __umoddi3 + .text 0x06014ac4 0x7a C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(extendsfdf2.o) + 0x06014ac4 __extendsfdf2 + .text 0x06014b3e 0x3c C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(fixunsdfsi.o) + 0x06014b3e __fixunsdfsi + .text 0x06014b7a 0x34 C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a(floatunsidf.o) + 0x06014b7a __floatunsidf + 0x06014bb0 . = ALIGN (0x4) + *fill* 0x06014bae 0x2 + 0x06014bb0 update_target_begin = . [!provide] PROVIDE (update_target_begin, .) *(.update_target) .update_target - 0x06014b00 0x20 cpu\br28\tools\sdk.elf.o - 0x06014b00 iis_update_target - 0x06014b08 vad_update_target - 0x06014b10 power_update_target - 0x06014b18 ble_update_target - 0x06014b20 update_target_end = . + 0x06014bb0 0x20 cpu\br28\tools\sdk.elf.o + 0x06014bb0 iis_update_target + 0x06014bb8 vad_update_target + 0x06014bc0 power_update_target + 0x06014bc8 ble_update_target + 0x06014bd0 update_target_end = . [!provide] PROVIDE (update_target_end, .) - 0x06014b20 . = ALIGN (0x4) + 0x06014bd0 . = ALIGN (0x4) *(.LOG_TAG_CONST*) *(.rodata*) .rodata.str1.1 - 0x06014b20 0x11a6 cpu\br28\tools\sdk.elf.o + 0x06014bd0 0x11a6 cpu\br28\tools\sdk.elf.o 0x11d8 (size before relaxing) - *fill* 0x06015cc6 0xa - .rodata 0x06015cd0 0x8b70 cpu\br28\tools\sdk.elf.o + *fill* 0x06015d76 0xa + .rodata 0x06015d80 0x8b70 cpu\br28\tools\sdk.elf.o .rodata.str1.16 - 0x0601e840 0xf20 cpu\br28\tools\sdk.elf.o - 0xf12 (size before relaxing) - .rodata.cst16 0x0601f760 0x10 cpu\br28\tools\sdk.elf.o + 0x0601e8f0 0xf40 cpu\br28\tools\sdk.elf.o + 0xf32 (size before relaxing) + .rodata.cst16 0x0601f830 0x10 cpu\br28\tools\sdk.elf.o 0x20 (size before relaxing) - .rodata.cst8 0x0601f770 0x8 cpu\br28\tools\sdk.elf.o - .rodata.cst4 0x0601f778 0x4 cpu\br28\tools\sdk.elf.o - .rodata 0x0601f77c 0x281 C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-ctype_.o) - 0x0601f8fc _ctype_ + .rodata.cst8 0x0601f840 0x8 cpu\br28\tools\sdk.elf.o + .rodata.cst4 0x0601f848 0x4 cpu\br28\tools\sdk.elf.o + .rodata 0x0601f84c 0x281 C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-ctype_.o) + 0x0601f9cc _ctype_ .rodata.str1.1 - 0x0601f9fd 0x2 C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-impure.o) - 0x0601fa00 . = ALIGN (0x4) - *fill* 0x0601f9ff 0x1 + 0x0601facd 0x2 C:\JL\pi32\pi32v2-lib\r3-large\libc.a(lib_a-impure.o) + 0x0601fad0 . = ALIGN (0x4) + *fill* 0x0601facf 0x1 [!provide] PROVIDE (text_rodata_end, .) - 0x0601fa00 clock_critical_handler_begin = . + 0x0601fad0 clock_critical_handler_begin = . *(.clock_critical_txt) .clock_critical_txt - 0x0601fa00 0x38 cpu\br28\tools\sdk.elf.o - 0x0601fa00 clock_chargestore - 0x0601fa08 clock_mcpwm - 0x0601fa10 clock_uart - 0x0601fa18 clock_timer - 0x0601fa20 clock_lrc - 0x0601fa28 clock_rch - 0x0601fa30 clock_port - 0x0601fa38 clock_critical_handler_end = . - 0x0601fa38 chargestore_handler_begin = . + 0x0601fad0 0x38 cpu\br28\tools\sdk.elf.o + 0x0601fad0 clock_chargestore + 0x0601fad8 clock_mcpwm + 0x0601fae0 clock_uart + 0x0601fae8 clock_timer + 0x0601faf0 clock_lrc + 0x0601faf8 clock_rch + 0x0601fb00 clock_port + 0x0601fb08 clock_critical_handler_end = . + 0x0601fb08 chargestore_handler_begin = . *(.chargestore_callback_txt) .chargestore_callback_txt - 0x0601fa38 0x4 cpu\br28\tools\sdk.elf.o - 0x0601fa38 chargestore_testbox - 0x0601fa3c chargestore_handler_end = . + 0x0601fb08 0x4 cpu\br28\tools\sdk.elf.o + 0x0601fb08 chargestore_testbox + 0x0601fb0c chargestore_handler_end = . *(.opcore_table_maskrom) *(.bfilt_table_maskroom) *(.opcore_maskrom) *(.bfilt_code) *(.bfilt_const) - 0x0601fa3c . = ALIGN (0x4) - 0x0601fa3c lcd_interface_begin = . + 0x0601fb0c . = ALIGN (0x4) + 0x0601fb0c lcd_interface_begin = . *(.lcd_if_info) - 0x0601fa3c lcd_interface_end = . - 0x0601fa3c ui_style_begin = . + 0x0601fb0c lcd_interface_end = . + 0x0601fb0c ui_style_begin = . *(.ui_style) - 0x0601fa3c ui_style_end = . - 0x0601fa3c elm_event_handler_begin_JL = . + 0x0601fb0c ui_style_end = . + 0x0601fb0c elm_event_handler_begin_JL = . *(.elm_event_handler_JL) - 0x0601fa3c elm_event_handler_end_JL = . - 0x0601fa3c elm_event_handler_begin_UPGRADE = . + 0x0601fb0c elm_event_handler_end_JL = . + 0x0601fb0c elm_event_handler_begin_UPGRADE = . *(.elm_event_handler_UPGRADE) - 0x0601fa3c elm_event_handler_end_UPGRADE = . - 0x0601fa3c elm_event_handler_begin_DIAL = . + 0x0601fb0c elm_event_handler_end_UPGRADE = . + 0x0601fb0c elm_event_handler_begin_DIAL = . *(.elm_event_handler_DIAL) - 0x0601fa3c elm_event_handler_end_DIAL = . - 0x0601fa3c control_event_handler_begin = . + 0x0601fb0c elm_event_handler_end_DIAL = . + 0x0601fb0c control_event_handler_begin = . *(.control_event_handler) - 0x0601fa3c control_event_handler_end = . - 0x0601fa3c control_ops_begin = . + 0x0601fb0c control_event_handler_end = . + 0x0601fb0c control_ops_begin = . *(.control_ops) - 0x0601fa3c control_ops_end = . - 0x0601fa3c battery_notify_begin = . + 0x0601fb0c control_ops_end = . + 0x0601fb0c battery_notify_begin = . *(.battery_notify) - 0x0601fa3c battery_notify_end = . - 0x0601fa3c . = ALIGN (0x4) - 0x0601fa3c __VERSION_BEGIN = . + 0x0601fb0c battery_notify_end = . + 0x0601fb0c . = ALIGN (0x4) + 0x0601fb0c __VERSION_BEGIN = . *(.sys.version) - .sys.version 0x0601fa3c 0x26 obj/Release/apps/earphone/sdk_version.z.o - 0x0601fa62 __VERSION_END = . + .sys.version 0x0601fb0c 0x26 obj/Release/apps/earphone/sdk_version.z.o + 0x0601fb32 __VERSION_END = . *(.noop_version) - 0x0601fa64 . = ALIGN (0x4) - *fill* 0x0601fa62 0x2 - 0x0601fa64 . = ALIGN (0x4) - 0x0601fa64 tool_interface_begin = . + 0x0601fb34 . = ALIGN (0x4) + *fill* 0x0601fb32 0x2 + 0x0601fb34 . = ALIGN (0x4) + 0x0601fb34 tool_interface_begin = . *(.tool_interface) - 0x0601fa64 tool_interface_end = . - 0x0601fa64 . = ALIGN (0x4) - 0x0601fa64 cmd_interface_begin = . + 0x0601fb34 tool_interface_end = . + 0x0601fb34 . = ALIGN (0x4) + 0x0601fb34 cmd_interface_begin = . *(.eff_cmd) - 0x0601fa64 cmd_interface_end = . - 0x0601fa64 . = ALIGN (0x4) - 0x0601fa80 . = ALIGN (0x20) - *fill* 0x0601fa64 0x1c - 0x0601fa80 m_code_addr = . + 0x0601fb34 cmd_interface_end = . + 0x0601fb34 . = ALIGN (0x4) + 0x0601fb40 . = ALIGN (0x20) + *fill* 0x0601fb34 0xc + 0x0601fb40 m_code_addr = . *(.m.code*) *(.movable.code*) 0x00000000 m_code_size = ABSOLUTE ((. - m_code_addr)) - 0x0601fa80 . = ALIGN (0x20) - 0x0601fa80 gsensor_dev_begin = . + 0x0601fb40 . = ALIGN (0x20) + 0x0601fb40 gsensor_dev_begin = . *(.gsensor_dev) - 0x0601fa80 gsensor_dev_end = . - 0x0601fa80 fm_dev_begin = . + 0x0601fb40 gsensor_dev_end = . + 0x0601fb40 fm_dev_begin = . *(.fm_dev) - 0x0601fa80 fm_dev_end = . - 0x0601fa80 fm_emitter_dev_begin = . + 0x0601fb40 fm_dev_end = . + 0x0601fb40 fm_emitter_dev_begin = . *(.fm_emitter_dev) - 0x0601fa80 fm_emitter_dev_end = . - 0x0601fa80 storage_device_begin = . + 0x0601fb40 fm_emitter_dev_end = . + 0x0601fb40 storage_device_begin = . *(.storage_device) - 0x0601fa80 storage_device_end = . - 0x0601fa80 imusensor_dev_begin = . + 0x0601fb40 storage_device_end = . + 0x0601fb40 imusensor_dev_begin = . *(.imusensor_dev) - 0x0601fa80 imusensor_dev_end = . - 0x0601fa80 aac_dec_code_begin = . + 0x0601fb40 imusensor_dev_end = . + 0x0601fb40 aac_dec_code_begin = . *(.bt_aac_dec_code) *(.bt_aac_dec_sparse_code) - 0x0601fa80 aac_dec_code_end = . + 0x0601fb40 aac_dec_code_end = . 0x00000000 aac_dec_code_size = (aac_dec_code_end - aac_dec_code_begin) - 0x0601fa80 . = ALIGN (0x4) - 0x0601fa80 bt_aac_dec_const_begin = . + 0x0601fb40 . = ALIGN (0x4) + 0x0601fb40 bt_aac_dec_const_begin = . *(.bt_aac_dec_const) *(.bt_aac_dec_sparse_const) - 0x0601fa80 bt_aac_dec_const_end = . + 0x0601fb40 bt_aac_dec_const_end = . 0x00000000 bt_aac_dec_const_size = (bt_aac_dec_const_end - bt_aac_dec_const_begin) *(.bt_aac_dec_data) *(.bt_aac_dec_bss) - 0x0601fa80 . = ALIGN (0x4) + 0x0601fb40 . = ALIGN (0x4) *(.aac_mem) *(.aac_ctrl_mem) - 0x0601fa80 . = ALIGN (0x20) - 0x0601fa80 update_code_start = . + 0x0601fb40 . = ALIGN (0x20) + 0x0601fb40 update_code_start = . *(.bt_updata_ram_code) *(.update_const) - .update_const 0x0601fa80 0xba cpu\br28\tools\sdk.elf.o + .update_const 0x0601fb40 0xba cpu\br28\tools\sdk.elf.o *(.update_code) - .update_code 0x0601fb3a 0x1a14 cpu\br28\tools\sdk.elf.o - 0x0602154e update_code_end = . - 0x0602154e btstack_code_start = . - 0x06021550 . = ALIGN (0x4) - *fill* 0x0602154e 0x2 - 0x06021550 a2dp_source_media_codec_begin = . + .update_code 0x0601fbfa 0x1a18 cpu\br28\tools\sdk.elf.o + 0x06021612 update_code_end = . + 0x06021612 btstack_code_start = . + 0x06021614 . = ALIGN (0x4) + *fill* 0x06021612 0x2 + 0x06021614 a2dp_source_media_codec_begin = . *(.a2dp_source_media_codec) .a2dp_source_media_codec - 0x06021550 0x30 cpu\br28\tools\sdk.elf.o - 0x06021550 a2dp_source_lc3_codec - 0x06021568 a2dp_source_sbc_codec - 0x06021580 a2dp_source_media_codec_end = . - 0x06021580 a2dp_sink_media_probe_begin = . + 0x06021614 0x30 cpu\br28\tools\sdk.elf.o + 0x06021614 a2dp_source_lc3_codec + 0x0602162c a2dp_source_sbc_codec + 0x06021644 a2dp_source_media_codec_end = . + 0x06021644 a2dp_sink_media_probe_begin = . *(.a2dp_sink_media_probe) - 0x06021580 a2dp_sink_media_probe_end = . - 0x06021580 a2dp_sink_media_codec_begin = . + 0x06021644 a2dp_sink_media_probe_end = . + 0x06021644 a2dp_sink_media_codec_begin = . *(.a2dp_sink_media_codec) .a2dp_sink_media_codec - 0x06021580 0x48 cpu\br28\tools\sdk.elf.o - 0x06021580 a2dp_1sbc_codec_private - 0x06021598 a2dp_2aac_sink_codec - 0x060215b0 a2dp_4ldac_sink_codec - 0x060215c8 a2dp_sink_media_codec_end = . - 0x060215c8 a2dp_event_handler_begin = . + 0x06021644 0x48 cpu\br28\tools\sdk.elf.o + 0x06021644 a2dp_1sbc_codec_private + 0x0602165c a2dp_2aac_sink_codec + 0x06021674 a2dp_4ldac_sink_codec + 0x0602168c a2dp_sink_media_codec_end = . + 0x0602168c a2dp_event_handler_begin = . *(.a2dp_event_handler) .a2dp_event_handler - 0x060215c8 0x70 cpu\br28\tools\sdk.elf.o - 0x060215c8 a2dp_sink_event_handler - 0x060215e4 a2dp_source_event_handler - 0x06021600 acp_a2dp_event_handler - 0x0602161c acp_a2dp_src_event_handler - 0x06021638 a2dp_event_handler_end = . - 0x06021638 sdp_record_item_begin = . + 0x0602168c 0x70 cpu\br28\tools\sdk.elf.o + 0x0602168c a2dp_sink_event_handler + 0x060216a8 a2dp_source_event_handler + 0x060216c4 acp_a2dp_event_handler + 0x060216e0 acp_a2dp_src_event_handler + 0x060216fc a2dp_event_handler_end = . + 0x060216fc sdp_record_item_begin = . *(.sdp_record_item) - 0x06021638 sdp_record_item_end = . - 0x06021638 bt_sleep_begin = . + 0x060216fc sdp_record_item_end = . + 0x060216fc bt_sleep_begin = . *(.bt_sleep) - .bt_sleep 0x06021638 0x6c cpu\br28\tools\sdk.elf.o - 0x06021638 bt_suspend_a2dp_resumea2dp_release - 0x06021644 bt_suspend_avctp_resumeavctp_release - 0x06021650 bt_suspend_hfp_resumehfp_release - 0x0602165c bt_suspend_user_cmd_loop_resumeuser_cmd_loop_release - 0x06021668 bt_suspend_hid_resumehid_release - 0x06021674 bt_suspend_spp_resumespp_release - 0x06021680 bt_suspend_spp_up_resumespp_up_release - 0x0602168c bt_suspend_iap_resumeiap_release - 0x06021698 bt_suspend_sdp_resumesdp_release - 0x060216a4 bt_sleep_end = . + .bt_sleep 0x060216fc 0x6c cpu\br28\tools\sdk.elf.o + 0x060216fc bt_suspend_a2dp_resumea2dp_release + 0x06021708 bt_suspend_avctp_resumeavctp_release + 0x06021714 bt_suspend_hfp_resumehfp_release + 0x06021720 bt_suspend_user_cmd_loop_resumeuser_cmd_loop_release + 0x0602172c bt_suspend_hid_resumehid_release + 0x06021738 bt_suspend_spp_resumespp_release + 0x06021744 bt_suspend_spp_up_resumespp_up_release + 0x06021750 bt_suspend_iap_resumeiap_release + 0x0602175c bt_suspend_sdp_resumesdp_release + 0x06021768 bt_sleep_end = . *(.bt_stack_const) .bt_stack_const - 0x060216a4 0x174 cpu\br28\tools\sdk.elf.o + 0x06021768 0x174 cpu\br28\tools\sdk.elf.o *(.bt_stack_code) .bt_stack_code - 0x06021818 0x7c38 cpu\br28\tools\sdk.elf.o + 0x060218dc 0x7c38 cpu\br28\tools\sdk.elf.o *(.ble_db_const) *(.ble_db_code) - .ble_db_code 0x06029450 0x18e cpu\br28\tools\sdk.elf.o + .ble_db_code 0x06029514 0x18e cpu\br28\tools\sdk.elf.o *(.ble_sm_const) - *fill* 0x060295de 0x2 - .ble_sm_const 0x060295e0 0x73 cpu\br28\tools\sdk.elf.o + *fill* 0x060296a2 0x2 + .ble_sm_const 0x060296a4 0x73 cpu\br28\tools\sdk.elf.o *(.ble_sm_code) - *fill* 0x06029653 0x1 - .ble_sm_code 0x06029654 0x20e0 cpu\br28\tools\sdk.elf.o + *fill* 0x06029717 0x1 + .ble_sm_code 0x06029718 0x20e0 cpu\br28\tools\sdk.elf.o *(.ble_att_const) .ble_att_const - 0x0602b734 0x17 cpu\br28\tools\sdk.elf.o + 0x0602b7f8 0x17 cpu\br28\tools\sdk.elf.o *(.ble_att_code) - *fill* 0x0602b74b 0x1 - .ble_att_code 0x0602b74c 0x754 cpu\br28\tools\sdk.elf.o + *fill* 0x0602b80f 0x1 + .ble_att_code 0x0602b810 0x754 cpu\br28\tools\sdk.elf.o *(.ble_gatt_const) *(.ble_gatt_code) .ble_gatt_code - 0x0602bea0 0xa0 cpu\br28\tools\sdk.elf.o - 0x0602bf40 BTSTACK_LE_HOST_MESH_CODE_START = . + 0x0602bf64 0xa0 cpu\br28\tools\sdk.elf.o + 0x0602c004 BTSTACK_LE_HOST_MESH_CODE_START = . *(.ble_mesh_code) *(.ble_mesh_tinycrypt_code) *(.ble_mesh_const) *(.ble_mesh_tinycrypt_const) 0x00000000 BTSTACK_LE_HOST_MESH_CODE_SIZE = ABSOLUTE ((. - BTSTACK_LE_HOST_MESH_CODE_START)) - 0x0602bf40 btstack_code_end = . - 0x0602bf40 . = ALIGN (0x4) - 0x0602bf40 . = ALIGN (0x4) - 0x0602bf40 system_text_start = . - 0x0602bf40 _device_node_begin = . - 0x0602bf40 PROVIDE (device_node_begin, .) + 0x0602c004 btstack_code_end = . + 0x0602c004 . = ALIGN (0x4) + 0x0602c004 . = ALIGN (0x4) + 0x0602c004 system_text_start = . + 0x0602c004 _device_node_begin = . + 0x0602c004 PROVIDE (device_node_begin, .) *(.device) - .device 0x0602bf40 0x18 cpu\br28\tools\sdk.elf.o - 0x0602bf40 device_table - 0x0602bf58 _device_node_end = . - 0x0602bf58 PROVIDE (device_node_end, .) - 0x0602bf58 config_target_begin = . + .device 0x0602c004 0x18 cpu\br28\tools\sdk.elf.o + 0x0602c004 device_table + 0x0602c01c _device_node_end = . + 0x0602c01c PROVIDE (device_node_end, .) + 0x0602c01c config_target_begin = . [!provide] PROVIDE (config_target_begin, .) *(.config_target) .config_target - 0x0602bf58 0x8 cpu\br28\tools\sdk.elf.o - 0x0602bf58 eq_config_target - 0x0602bf60 config_target_end = . + 0x0602c01c 0x8 cpu\br28\tools\sdk.elf.o + 0x0602c01c eq_config_target + 0x0602c024 config_target_end = . [!provide] PROVIDE (config_target_end, .) - 0x0602bf60 system_code_begin = . + 0x0602c024 system_code_begin = . *(.system.*.text) .system.cpu.text - 0x0602bf60 0x918 cpu\br28\tools\sdk.elf.o + 0x0602c024 0x918 cpu\br28\tools\sdk.elf.o .system.lbuf.text - 0x0602c878 0x388 cpu\br28\tools\sdk.elf.o + 0x0602c93c 0x388 cpu\br28\tools\sdk.elf.o .system.printf.text - 0x0602cc00 0x600 cpu\br28\tools\sdk.elf.o + 0x0602ccc4 0x600 cpu\br28\tools\sdk.elf.o .system.cbuf.text - 0x0602d200 0x1e6 cpu\br28\tools\sdk.elf.o + 0x0602d2c4 0x1e6 cpu\br28\tools\sdk.elf.o .system.event.text - 0x0602d3e6 0x4ba cpu\br28\tools\sdk.elf.o + 0x0602d4aa 0x4ba cpu\br28\tools\sdk.elf.o .system.timer.text - 0x0602d8a0 0x78c cpu\br28\tools\sdk.elf.o + 0x0602d964 0x78c cpu\br28\tools\sdk.elf.o .system.device.text - 0x0602e02c 0xf8 cpu\br28\tools\sdk.elf.o + 0x0602e0f0 0xf8 cpu\br28\tools\sdk.elf.o .system.fs.text - 0x0602e124 0xe42 cpu\br28\tools\sdk.elf.o + 0x0602e1e8 0xe42 cpu\br28\tools\sdk.elf.o .system.ascii.text - 0x0602ef66 0x8c cpu\br28\tools\sdk.elf.o + 0x0602f02a 0x8c cpu\br28\tools\sdk.elf.o .system.cfg_tool.text - 0x0602eff2 0x786 cpu\br28\tools\sdk.elf.o + 0x0602f0b6 0x786 cpu\br28\tools\sdk.elf.o .system.app_core.text - 0x0602f778 0x2f2 cpu\br28\tools\sdk.elf.o + 0x0602f83c 0x2f2 cpu\br28\tools\sdk.elf.o .system.init.text - 0x0602fa6a 0x9de cpu\br28\tools\sdk.elf.o - 0x0602fa74 boot_info_init - 0x0602fa9e cpu1_main - 0x0602fb00 main + 0x0602fb2e 0x9de cpu\br28\tools\sdk.elf.o + 0x0602fb38 boot_info_init + 0x0602fb62 cpu1_main + 0x0602fbc4 main .system.task.text - 0x06030448 0x5e cpu\br28\tools\sdk.elf.o - 0x060304a6 system_code_end = . - 0x060304a8 . = ALIGN (0x4) - *fill* 0x060304a6 0x2 + 0x0603050c 0x5e cpu\br28\tools\sdk.elf.o + 0x0603056a system_code_end = . + 0x0603056c . = ALIGN (0x4) + *fill* 0x0603056a 0x2 0x00004546 system_code_size = (system_code_end - system_code_begin) - 0x060304a8 vfs_ops_begin = . + 0x0603056c vfs_ops_begin = . *(.vfs_operations) .vfs_operations - 0x060304a8 0x74 cpu\br28\tools\sdk.elf.o - 0x060304a8 sdfile_vfs_ops - 0x0603051c vfs_ops_end = . - 0x0603051c _lib_version_begin = . + 0x0603056c 0x74 cpu\br28\tools\sdk.elf.o + 0x0603056c sdfile_vfs_ops + 0x060305e0 vfs_ops_end = . + 0x060305e0 _lib_version_begin = . [!provide] PROVIDE (lib_version_begin, .) *(.lib_version) - .lib_version 0x0603051c 0xc cpu\br28\tools\sdk.elf.o - 0x0603051c __version_sdfile - 0x06030520 __version_fs - 0x06030524 __version_fatfs - 0x06030528 _lib_version_end = . + .lib_version 0x060305e0 0xc cpu\br28\tools\sdk.elf.o + 0x060305e0 __version_sdfile + 0x060305e4 __version_fs + 0x060305e8 __version_fatfs + 0x060305ec _lib_version_end = . [!provide] PROVIDE (lib_version_end, .) - 0x06030528 _initcall_begin = . - 0x06030528 PROVIDE (initcall_begin, .) + 0x060305ec _initcall_begin = . + 0x060305ec PROVIDE (initcall_begin, .) *(.initcall) - .initcall 0x06030528 0x14 cpu\br28\tools\sdk.elf.o - 0x06030528 __initcall_audio_online_debug_open - 0x0603052c __initcall_trim_timer_add - 0x06030530 __initcall_app_update_init - 0x06030534 __initcall_tone_table_init - 0x06030538 __initcall_audio_vbass_init - 0x0603053c _initcall_end = . - 0x0603053c PROVIDE (initcall_end, .) - 0x0603053c _early_initcall_begin = . - 0x0603053c PROVIDE (early_initcall_begin, .) + .initcall 0x060305ec 0x14 cpu\br28\tools\sdk.elf.o + 0x060305ec __initcall_audio_online_debug_open + 0x060305f0 __initcall_trim_timer_add + 0x060305f4 __initcall_app_update_init + 0x060305f8 __initcall_tone_table_init + 0x060305fc __initcall_audio_vbass_init + 0x06030600 _initcall_end = . + 0x06030600 PROVIDE (initcall_end, .) + 0x06030600 _early_initcall_begin = . + 0x06030600 PROVIDE (early_initcall_begin, .) *(.early.initcall) .early.initcall - 0x0603053c 0x8 cpu\br28\tools\sdk.elf.o - 0x0603053c __initcall_sys_event_init - 0x06030540 __initcall_sdfile_init - 0x06030544 _early_initcall_end = . - 0x06030544 PROVIDE (early_initcall_end, .) - 0x06030544 _late_initcall_begin = . - 0x06030544 PROVIDE (late_initcall_begin, .) + 0x06030600 0x8 cpu\br28\tools\sdk.elf.o + 0x06030600 __initcall_sys_event_init + 0x06030604 __initcall_sdfile_init + 0x06030608 _early_initcall_end = . + 0x06030608 PROVIDE (early_initcall_end, .) + 0x06030608 _late_initcall_begin = . + 0x06030608 PROVIDE (late_initcall_begin, .) *(.late.initcall) .late.initcall - 0x06030544 0x8 cpu\br28\tools\sdk.elf.o - 0x06030544 __initcall_check_otp_data - 0x06030548 __initcall_sdk_meky_check - 0x0603054c _late_initcall_end = . - 0x0603054c PROVIDE (late_initcall_end, .) - 0x0603054c _platform_initcall_begin = . - 0x0603054c PROVIDE (platform_initcall_begin, .) + 0x06030608 0x8 cpu\br28\tools\sdk.elf.o + 0x06030608 __initcall_check_otp_data + 0x0603060c __initcall_sdk_meky_check + 0x06030610 _late_initcall_end = . + 0x06030610 PROVIDE (late_initcall_end, .) + 0x06030610 _platform_initcall_begin = . + 0x06030610 PROVIDE (platform_initcall_begin, .) *(.platform.initcall) .platform.initcall - 0x0603054c 0x4 cpu\br28\tools\sdk.elf.o - 0x0603054c __initcall_syscfg_tools_init - 0x06030550 _platform_initcall_end = . - 0x06030550 PROVIDE (platform_initcall_end, .) - 0x06030550 _module_initcall_begin = . - 0x06030550 PROVIDE (module_initcall_begin, .) + 0x06030610 0x4 cpu\br28\tools\sdk.elf.o + 0x06030610 __initcall_syscfg_tools_init + 0x06030614 _platform_initcall_end = . + 0x06030614 PROVIDE (platform_initcall_end, .) + 0x06030614 _module_initcall_begin = . + 0x06030614 PROVIDE (module_initcall_begin, .) *(.module.initcall) - 0x06030550 _module_initcall_end = . - 0x06030550 PROVIDE (module_initcall_end, .) - 0x06030550 _sys_event_handler_begin = . - 0x06030550 PROVIDE (sys_event_handler_begin, .) + 0x06030614 _module_initcall_end = . + 0x06030614 PROVIDE (module_initcall_end, .) + 0x06030614 _sys_event_handler_begin = . + 0x06030614 PROVIDE (sys_event_handler_begin, .) *(.sys_event.4.handler) .sys_event.4.handler - 0x06030550 0x8 cpu\br28\tools\sdk.elf.o - 0x06030550 __event_handler_bt_tws_event_handler + 0x06030614 0x8 cpu\br28\tools\sdk.elf.o + 0x06030614 __event_handler_bt_tws_event_handler *(.sys_event.3.handler) *(.sys_event.2.handler) *(.sys_event.1.handler) *(.sys_event.0.handler) - 0x06030558 _sys_event_handler_end = . - 0x06030558 PROVIDE (sys_event_handler_end, .) - 0x06030558 _syscfg_arg_begin = . + 0x0603061c _sys_event_handler_end = . + 0x0603061c PROVIDE (sys_event_handler_end, .) + 0x0603061c _syscfg_arg_begin = . [!provide] PROVIDE (syscfg_arg_begin, .) *(.syscfg.arg) - 0x06030558 _syscfg_arg_end = . + 0x0603061c _syscfg_arg_end = . [!provide] PROVIDE (syscfg_arg_end, .) - 0x06030558 _syscfg_handler_begin = . + 0x0603061c _syscfg_handler_begin = . [!provide] PROVIDE (syscfg_handler_begin, .) *(.syscfg.handler) - 0x06030558 _syscfg_handler_end = . + 0x0603061c _syscfg_handler_end = . [!provide] PROVIDE (syscfg_handler_end, .) - 0x06030558 _syscfg_ops_begin = . - 0x06030558 PROVIDE (syscfg_ops_begin, .) + 0x0603061c _syscfg_ops_begin = . + 0x0603061c PROVIDE (syscfg_ops_begin, .) *(.syscfg.2.ops) - .syscfg.2.ops 0x06030558 0x1c cpu\br28\tools\sdk.elf.o - 0x06030558 cfg_btif + .syscfg.2.ops 0x0603061c 0x1c cpu\br28\tools\sdk.elf.o + 0x0603061c cfg_btif *(.syscfg.1.ops) - .syscfg.1.ops 0x06030574 0x1c cpu\br28\tools\sdk.elf.o - 0x06030574 cfg_vm + .syscfg.1.ops 0x06030638 0x1c cpu\br28\tools\sdk.elf.o + 0x06030638 cfg_vm *(.syscfg.0.ops) - .syscfg.0.ops 0x06030590 0x1c cpu\br28\tools\sdk.elf.o - 0x06030590 cfg_bin - 0x060305ac _syscfg_ops_end = . - 0x060305ac PROVIDE (syscfg_ops_end, .) - 0x060305ac _server_info_begin = . + .syscfg.0.ops 0x06030654 0x1c cpu\br28\tools\sdk.elf.o + 0x06030654 cfg_bin + 0x06030670 _syscfg_ops_end = . + 0x06030670 PROVIDE (syscfg_ops_end, .) + 0x06030670 _server_info_begin = . [!provide] PROVIDE (server_info_begin, .) *(.server_info) - 0x060305ac _server_info_end = . + 0x06030670 _server_info_end = . [!provide] PROVIDE (server_info_end, .) - 0x060305ac _bus_device_begin = . + 0x06030670 _bus_device_begin = . [!provide] PROVIDE (bus_device_begin, .) *(.bus_device) - 0x060305ac _bus_device_end = . + 0x06030670 _bus_device_end = . [!provide] PROVIDE (bus_device_end, .) - 0x060305ac _sys_power_hal_ops_begin = . + 0x06030670 _sys_power_hal_ops_begin = . [!provide] PROVIDE (sys_power_hal_ops_begin, .) *(.sys_power_hal_ops) - 0x060305ac _sys_power_hal_ops_end = . + 0x06030670 _sys_power_hal_ops_end = . [!provide] PROVIDE (sys_power_hal_ops_end, .) - 0x060305ac crypto_begin = . + 0x06030670 crypto_begin = . *(.crypto_ecdh_code) *(.crypto_ecdh_const) *(.crypto_bigint_code) @@ -3125,63 +3125,63 @@ END GROUP *(.hash_sample_const) *(.aes_cmac_sample_code) *(.aes_cmac_sample_const) - 0x060305ac crypto_end = . + 0x06030670 crypto_end = . 0x00000000 crypto_size = (. - crypto_begin) *(.mem_code) *(.mem_const) *(.os_port_code) *(.os_port_const) *(.os_const) - .os_const 0x060305ac 0x18 cpu\br28\tools\sdk.elf.o + .os_const 0x06030670 0x18 cpu\br28\tools\sdk.elf.o *(.math_fast_funtion_code) .math_fast_funtion_code - 0x060305c4 0x1c cpu\br28\tools\sdk.elf.o - 0x060305e0 __movable_function_start = . + 0x06030688 0x1c cpu\br28\tools\sdk.elf.o + 0x060306a4 __movable_function_start = . *(movable.text.*) *(movable.stub.*) *(movable.region.*) - 0x060305e0 __movable_function_end = . + 0x060306a4 __movable_function_end = . 0x00000000 __movable_function_size = (__movable_function_end - __movable_function_start) - 0x060305e0 system_text_end = . + 0x060306a4 system_text_end = . 0x000046a0 system_code_total_size = (system_text_end - system_text_start) - 0x060305e0 btctler_code_start = . - 0x060305e0 BTCTLER_CONTROLLER_CODE_START = . + 0x060306a4 btctler_code_start = . + 0x060306a4 BTCTLER_CONTROLLER_CODE_START = . *(.bt_rf_const) - .bt_rf_const 0x060305e0 0x5f4 cpu\br28\tools\sdk.elf.o + .bt_rf_const 0x060306a4 0x5f4 cpu\br28\tools\sdk.elf.o *(.bt_rf_code) - .bt_rf_code 0x06030bd4 0x1b02 cpu\br28\tools\sdk.elf.o + .bt_rf_code 0x06030c98 0x1b02 cpu\br28\tools\sdk.elf.o *(.vendor_manager_const) *(.vendor_manager_code) *(.device_manager_const) *(.device_manager_code) *(.hci_controller_const) - *fill* 0x060326d6 0x2 + *fill* 0x0603279a 0x2 .hci_controller_const - 0x060326d8 0x28 cpu\br28\tools\sdk.elf.o + 0x0603279c 0x28 cpu\br28\tools\sdk.elf.o *(.hci_controller_code) .hci_controller_code - 0x06032700 0x640 cpu\br28\tools\sdk.elf.o + 0x060327c4 0x640 cpu\br28\tools\sdk.elf.o *(.hci_interface_const) *(.hci_interface_code) 0x00002760 BTCTLER_CONTROLLER_CODE_SIZE = ABSOLUTE ((. - BTCTLER_CONTROLLER_CODE_START)) - 0x06032d40 BTCTLER_LE_CONTROLLER_CODE_START = . + 0x06032e04 BTCTLER_LE_CONTROLLER_CODE_START = . *(.ble_rf_const) - .ble_rf_const 0x06032d40 0x28 cpu\br28\tools\sdk.elf.o + .ble_rf_const 0x06032e04 0x28 cpu\br28\tools\sdk.elf.o *(.ble_rf_code) - .ble_rf_code 0x06032d68 0x3cee cpu\br28\tools\sdk.elf.o + .ble_rf_code 0x06032e2c 0x3cee cpu\br28\tools\sdk.elf.o *(.ble_ll_const) - *fill* 0x06036a56 0x2 - .ble_ll_const 0x06036a58 0xb4 cpu\br28\tools\sdk.elf.o + *fill* 0x06036b1a 0x2 + .ble_ll_const 0x06036b1c 0xb4 cpu\br28\tools\sdk.elf.o *(.ble_ll_code) - .ble_ll_code 0x06036b0c 0x2aa0 cpu\br28\tools\sdk.elf.o + .ble_ll_code 0x06036bd0 0x2aa8 cpu\br28\tools\sdk.elf.o *(.ble_hci_const) .ble_hci_const - 0x060395ac 0x19 cpu\br28\tools\sdk.elf.o + 0x06039678 0x19 cpu\br28\tools\sdk.elf.o *(.ble_hci_code) - *fill* 0x060395c5 0x1 - .ble_hci_code 0x060395c6 0x8da cpu\br28\tools\sdk.elf.o - 0x00007160 BTCTLER_LE_CONTROLLER_CODE_SIZE = ABSOLUTE ((. - BTCTLER_LE_CONTROLLER_CODE_START)) - 0x06039ea0 BTCTLER_CL_CODE_START = . + *fill* 0x06039691 0x1 + .ble_hci_code 0x06039692 0x8da cpu\br28\tools\sdk.elf.o + 0x00007168 BTCTLER_LE_CONTROLLER_CODE_SIZE = ABSOLUTE ((. - BTCTLER_LE_CONTROLLER_CODE_START)) + 0x06039f6c BTCTLER_CL_CODE_START = . *(.bredr_irq) *(.bredr_irq_code) *(.bredr_irq_const) @@ -3190,44 +3190,44 @@ END GROUP *(.classic_lmp_const) *(.classic_lmp_auth_const) .classic_lmp_auth_const - 0x06039ea0 0x310 cpu\br28\tools\sdk.elf.o + 0x06039f6c 0x310 cpu\br28\tools\sdk.elf.o *(.classic_lmp_bigint_const) *(.classic_lmp_crypt_const) *(.classic_lmp_ecdh_const) *(.classic_lmp_hmac_const) *(.classic_lmp_code) .classic_lmp_code - 0x0603a1b0 0x780 cpu\br28\tools\sdk.elf.o + 0x0603a27c 0x780 cpu\br28\tools\sdk.elf.o *(.classic_lmp_auth_code) .classic_lmp_auth_code - 0x0603a930 0x488 cpu\br28\tools\sdk.elf.o + 0x0603a9fc 0x488 cpu\br28\tools\sdk.elf.o *(.classic_lmp_bigint_code) *(.classic_lmp_crypt_code) *(.classic_lmp_ecdh_code) *(.classic_lmp_hmac_code) *(.classic_rf_const) .classic_rf_const - 0x0603adb8 0x60 cpu\br28\tools\sdk.elf.o + 0x0603ae84 0x60 cpu\br28\tools\sdk.elf.o *(.classic_rf_code) .classic_rf_code - 0x0603ae18 0x504 cpu\br28\tools\sdk.elf.o + 0x0603aee4 0x504 cpu\br28\tools\sdk.elf.o *(.classic_bb_const) *(.classic_bb_code) 0x0000147c BTCTLER_CL_CODE_SIZE = ABSOLUTE ((. - BTCTLER_CL_CODE_START)) *(.classic_tws_const) *(.classic_tws_code) .classic_tws_code - 0x0603b31c 0x150 cpu\br28\tools\sdk.elf.o + 0x0603b3e8 0x150 cpu\br28\tools\sdk.elf.o *(.classic_tws_code.esco) - 0x0603b46c . = ALIGN (0x4) - 0x0603b46c driver_code_start = . + 0x0603b538 . = ALIGN (0x4) + 0x0603b538 driver_code_start = . *(.fm_code) - 0x0603b46c CLOCK_CODE_START = . + 0x0603b538 CLOCK_CODE_START = . *(.clock_code) - .clock_code 0x0603b46c 0x11bc cpu\br28\tools\sdk.elf.o - 0x0603bfc0 boot_clk_init + .clock_code 0x0603b538 0x11bc cpu\br28\tools\sdk.elf.o + 0x0603c08c boot_clk_init *(.clock_const) - .clock_const 0x0603c628 0x30 cpu\br28\tools\sdk.elf.o + .clock_const 0x0603c6f4 0x30 cpu\br28\tools\sdk.elf.o 0x000011ec CLOCK_CODE_SIZE = ABSOLUTE ((. - CLOCK_CODE_START)) *(.debug_code) *(.debug_const) @@ -3235,79 +3235,79 @@ END GROUP *(.uart_const) *(.power_driver.text) .power_driver.text - 0x0603c658 0x220e cpu\br28\tools\sdk.elf.o + 0x0603c724 0x220e cpu\br28\tools\sdk.elf.o *(.power_driver.text.const) - *fill* 0x0603e866 0x1a + *fill* 0x0603e932 0xe .power_driver.text.const - 0x0603e880 0x7fd cpu\br28\tools\sdk.elf.o + 0x0603e940 0x7fd cpu\br28\tools\sdk.elf.o *(.power_reset.text) - *fill* 0x0603f07d 0x1 + *fill* 0x0603f13d 0x1 .power_reset.text - 0x0603f07e 0x330 cpu\br28\tools\sdk.elf.o + 0x0603f13e 0x330 cpu\br28\tools\sdk.elf.o *(.power_reset.text.const) .power_reset.text.const - 0x0603f3ae 0x80 cpu\br28\tools\sdk.elf.o + 0x0603f46e 0x80 cpu\br28\tools\sdk.elf.o *(.power_wakeup.text) .power_wakeup.text - 0x0603f42e 0x5f2 cpu\br28\tools\sdk.elf.o + 0x0603f4ee 0x5f2 cpu\br28\tools\sdk.elf.o *(.power_wakeup.text.const) .power_wakeup.text.const - 0x0603fa20 0xad cpu\br28\tools\sdk.elf.o - 0x0603fad0 . = ALIGN (0x4) - *fill* 0x0603facd 0x3 - 0x0603fad0 lp_target_begin = . + 0x0603fae0 0xad cpu\br28\tools\sdk.elf.o + 0x0603fb90 . = ALIGN (0x4) + *fill* 0x0603fb8d 0x3 + 0x0603fb90 lp_target_begin = . [!provide] PROVIDE (lp_target_begin, .) *(.lp_target) - .lp_target 0x0603fad0 0xc0 cpu\br28\tools\sdk.elf.o - 0x0603fad0 bt_test_lp_target - 0x0603fadc key_lp_target - 0x0603fae8 plll_trim_lp_target - 0x0603faf4 ota_lp_target - 0x0603fb00 dual_ota_lp_target - 0x0603fb0c pc_lp_target - 0x0603fb18 audio_dec_init_lp_target - 0x0603fb24 bt_dec_lp_target - 0x0603fb30 aispeech_asr_core_lp_target - 0x0603fb3c audio_tone_lp_target - 0x0603fb48 tone_dec_lp_target - 0x0603fb54 usb_dev_lp_target - 0x0603fb60 usr_systimer_lp_target - 0x0603fb6c btstack_lowpower_target - 0x0603fb78 audio_dac_lp_target - 0x0603fb84 eq_online_lp_target - 0x0603fb90 lp_target_end = . + .lp_target 0x0603fb90 0xc0 cpu\br28\tools\sdk.elf.o + 0x0603fb90 bt_test_lp_target + 0x0603fb9c key_lp_target + 0x0603fba8 plll_trim_lp_target + 0x0603fbb4 ota_lp_target + 0x0603fbc0 dual_ota_lp_target + 0x0603fbcc pc_lp_target + 0x0603fbd8 audio_dec_init_lp_target + 0x0603fbe4 bt_dec_lp_target + 0x0603fbf0 aispeech_asr_core_lp_target + 0x0603fbfc audio_tone_lp_target + 0x0603fc08 tone_dec_lp_target + 0x0603fc14 usb_dev_lp_target + 0x0603fc20 usr_systimer_lp_target + 0x0603fc2c btstack_lowpower_target + 0x0603fc38 audio_dac_lp_target + 0x0603fc44 eq_online_lp_target + 0x0603fc50 lp_target_end = . [!provide] PROVIDE (lp_target_end, .) - 0x0603fb90 . = ALIGN (0x4) - 0x0603fb90 lp_request_begin = . + 0x0603fc50 . = ALIGN (0x4) + 0x0603fc50 lp_request_begin = . [!provide] PROVIDE (lp_request_begin, .) *(.lp_request) - 0x0603fb90 lp_request_end = . + 0x0603fc50 lp_request_end = . [!provide] PROVIDE (lp_request_end, .) - 0x0603fb90 . = ALIGN (0x4) - 0x0603fb90 deepsleep_target_begin = . + 0x0603fc50 . = ALIGN (0x4) + 0x0603fc50 deepsleep_target_begin = . [!provide] PROVIDE (deepsleep_target_begin, .) *(.deepsleep_target) .deepsleep_target - 0x0603fb90 0x54 cpu\br28\tools\sdk.elf.o - 0x0603fb90 uart - 0x0603fb9c clock_sfc - 0x0603fba8 tmr - 0x0603fbb4 vm_sfc - 0x0603fbc0 lrct - 0x0603fbcc periph - 0x0603fbd8 bt - 0x0603fbe4 deepsleep_target_end = . + 0x0603fc50 0x54 cpu\br28\tools\sdk.elf.o + 0x0603fc50 uart + 0x0603fc5c clock_sfc + 0x0603fc68 tmr + 0x0603fc74 vm_sfc + 0x0603fc80 lrct + 0x0603fc8c periph + 0x0603fc98 bt + 0x0603fca4 deepsleep_target_end = . [!provide] PROVIDE (deepsleep_target_end, .) - 0x0603fbe4 . = ALIGN (0x4) - 0x0603fbe4 p2m_msg_handler_begin = . + 0x0603fca4 . = ALIGN (0x4) + 0x0603fca4 p2m_msg_handler_begin = . [!provide] PROVIDE (p2m_msg_handler_begin, .) *(.p2m_msg_handler) - 0x0603fbe4 PROVIDE (p2m_msg_handler_end, .) - 0x0603fbe4 p2m_msg_handler_end = . - 0x0603fbe4 driver_code_end = . - 0x0603fbe4 . = ALIGN (0x4) - 0x0603fbe4 media_text_start = . - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 PROVIDE (p2m_msg_handler_end, .) + 0x0603fca4 p2m_msg_handler_end = . + 0x0603fca4 driver_code_end = . + 0x0603fca4 . = ALIGN (0x4) + 0x0603fca4 media_text_start = . + 0x0603fca4 . = ALIGN (0x4) *(.stream_code) *(.howlings_phf_code) *(.notchhowling_sparse_code) @@ -3315,28 +3315,28 @@ END GROUP *(.howlings_phf_sparse_code) *(.notchhowling_const) *(.howlings_phf_const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.llns.text) *(.llns.text.const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.aec_code) *(.aec_const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.res_code) *(.res_const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.ns_code) *(.ns_const) *(.bark_const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.jlsp_code) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.jlsp_const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.dns_16k_data) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.dns_8k_data) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.jlsp_dns_code) *(.jlsp_dns_const) *(.dns_param_data_wind) @@ -3365,20 +3365,20 @@ END GROUP *(.bt_audioplc_code) *(.bt_audioplc_sparse_code) *(.bt_audioplc_const) - 0x0603fbe4 . = ALIGN (0x4) + 0x0603fca4 . = ALIGN (0x4) *(.lf_audioplc_code) .lf_audioplc_code - 0x0603fbe4 0x47a cpu\br28\tools\sdk.elf.o + 0x0603fca4 0x47a cpu\br28\tools\sdk.elf.o *(.lf_audioplc_sparse_code) .lf_audioplc_sparse_code - 0x0604005e 0x7c cpu\br28\tools\sdk.elf.o + 0x0604011e 0x7c cpu\br28\tools\sdk.elf.o *(.lf_audioplc_const) - *fill* 0x060400da 0x2 + *fill* 0x0604019a 0x2 .lf_audioplc_const - 0x060400dc 0xc cpu\br28\tools\sdk.elf.o - 0x060400e8 . = ALIGN (0x4) + 0x0604019c 0xc cpu\br28\tools\sdk.elf.o + 0x060401a8 . = ALIGN (0x4) *(.pcm_code) - .pcm_code 0x060400e8 0xa2 cpu\br28\tools\sdk.elf.o + .pcm_code 0x060401a8 0xa2 cpu\br28\tools\sdk.elf.o *(.pcm_const) *(.wtg_dec_code) *(.wtg_dec_sparse_code) @@ -3400,31 +3400,31 @@ END GROUP *(.opus_encoder_code) *(.opus_encoder_const) *(.mp3_code) - .mp3_code 0x0604018a 0x462 cpu\br28\tools\sdk.elf.o + .mp3_code 0x0604024a 0x462 cpu\br28\tools\sdk.elf.o *(.mp3_const) *(.mp3_dec_sparse_code) .mp3_dec_sparse_code - 0x060405ec 0x1632 cpu\br28\tools\sdk.elf.o + 0x060406ac 0x1632 cpu\br28\tools\sdk.elf.o *(.mp3_dec_sparse_const) *(.mp3_dec_code) - .mp3_dec_code 0x06041c1e 0x3042 cpu\br28\tools\sdk.elf.o + .mp3_dec_code 0x06041cde 0x3042 cpu\br28\tools\sdk.elf.o *(.mp3_dec_const) .mp3_dec_const - 0x06044c60 0x290c cpu\br28\tools\sdk.elf.o + 0x06044d20 0x290c cpu\br28\tools\sdk.elf.o *(.bfilt_code) *(.msbc_code) - .msbc_code 0x0604756c 0x4b6 cpu\br28\tools\sdk.elf.o + .msbc_code 0x0604762c 0x4b6 cpu\br28\tools\sdk.elf.o *(.msbc_const) - *fill* 0x06047a22 0x2 - .msbc_const 0x06047a24 0x46 cpu\br28\tools\sdk.elf.o + *fill* 0x06047ae2 0x2 + .msbc_const 0x06047ae4 0x46 cpu\br28\tools\sdk.elf.o *(.mty_code) *(.mp3tsy_dec_code) *(.mp3tsy_dec_sparse_code) *(.mp3tsy_dec_const) *(.sbc_code) - .sbc_code 0x06047a6a 0x4f6 cpu\br28\tools\sdk.elf.o + .sbc_code 0x06047b2a 0x4f6 cpu\br28\tools\sdk.elf.o *(.sbc_const) - .sbc_const 0x06047f60 0xc cpu\br28\tools\sdk.elf.o + .sbc_const 0x06048020 0xc cpu\br28\tools\sdk.elf.o *(.sine_code) *(.sine_const) *(.wav_code) @@ -3467,10 +3467,10 @@ END GROUP *(.flac_dec_sparse_code) *(.audio_decoder_code) .audio_decoder_code - 0x06047f6c 0x2420 cpu\br28\tools\sdk.elf.o + 0x0604802c 0x2420 cpu\br28\tools\sdk.elf.o *(.audio_decoder_const) .audio_decoder_const - 0x0604a38c 0x68 cpu\br28\tools\sdk.elf.o + 0x0604a44c 0x68 cpu\br28\tools\sdk.elf.o *(.audio_track_const) *(.audio_track_code) *(.m4a_code) @@ -3491,7 +3491,7 @@ END GROUP *(.audio_encoder_code) *(.audio_encoder_const) *(.mixer_code) - .mixer_code 0x0604a3f4 0x5ae cpu\br28\tools\sdk.elf.o + .mixer_code 0x0604a4b4 0x5ae cpu\br28\tools\sdk.elf.o *(.mixer_const) *(.dec_server_code) *(.dec_server_const) @@ -3505,7 +3505,7 @@ END GROUP *(.wireless_sync_const) *(.sbc_eng_code) *(.sbc_eng_const) - 0x0604a9a2 anc_code_begin = . + 0x0604aa62 anc_code_begin = . *(.anc_user_const) *(.anc_user_code) *(.anc_const) @@ -3516,17 +3516,17 @@ END GROUP *(.anc_box_code) *(.anc_btspp_const) *(.anc_btspp_code) - 0x0604a9a2 anc_code_end = . + 0x0604aa62 anc_code_end = . 0x00000000 anc_code_size = (anc_code_end - anc_code_begin) *(.audio_codec_code) .audio_codec_code - 0x0604a9a2 0x1ee cpu\br28\tools\sdk.elf.o + 0x0604aa62 0x1ee cpu\br28\tools\sdk.elf.o *(.audio_adc_code) .audio_adc_code - 0x0604ab90 0x990 cpu\br28\tools\sdk.elf.o + 0x0604ac50 0x990 cpu\br28\tools\sdk.elf.o *(.audio_adc_const) .audio_adc_const - 0x0604b520 0xc cpu\br28\tools\sdk.elf.o + 0x0604b5e0 0xc cpu\br28\tools\sdk.elf.o *(.audio_cfifo_code) *(.audio_cfifo_const) *(.bt_compressor_sparse_const) @@ -3543,57 +3543,56 @@ END GROUP *(.crossOver_sparse_const) *(.lib_pitchshift_code) *(.lib_pitchshift_const) - 0x0604b52c . = ALIGN (0x4) - 0x0604b52c _audio_decoder_begin = . - 0x0604b52c PROVIDE (audio_decoder_begin, .) + 0x0604b5ec . = ALIGN (0x4) + 0x0604b5ec _audio_decoder_begin = . + 0x0604b5ec PROVIDE (audio_decoder_begin, .) *(.audio_decoder) .audio_decoder - 0x0604b52c 0x154 cpu\br28\tools\sdk.elf.o - 0x0604b52c mp3_decoder - 0x0604b570 pcm_decoder - 0x0604b5b4 cvsd_decoder - 0x0604b5f8 sbc_decoder - 0x0604b63c msbc_decoder - 0x0604b680 _audio_decoder_end = . - 0x0604b680 PROVIDE (audio_decoder_end, .) - 0x0604b680 _audio_encoder_begin = . - 0x0604b680 PROVIDE (audio_encoder_begin, .) + 0x0604b5ec 0x154 cpu\br28\tools\sdk.elf.o + 0x0604b5ec mp3_decoder + 0x0604b630 pcm_decoder + 0x0604b674 cvsd_decoder + 0x0604b6b8 sbc_decoder + 0x0604b6fc msbc_decoder + 0x0604b740 _audio_decoder_end = . + 0x0604b740 PROVIDE (audio_decoder_end, .) + 0x0604b740 _audio_encoder_begin = . + 0x0604b740 PROVIDE (audio_encoder_begin, .) *(.audio_encoder) - 0x0604b680 _audio_encoder_end = . - 0x0604b680 PROVIDE (audio_encoder_end, .) - 0x0604b680 _audio_package_begin = . + 0x0604b740 _audio_encoder_end = . + 0x0604b740 PROVIDE (audio_encoder_end, .) + 0x0604b740 _audio_package_begin = . [!provide] PROVIDE (audio_package_begin, .) *(.audio_package) - 0x0604b680 _audio_package_end = . + 0x0604b740 _audio_package_end = . [!provide] PROVIDE (audio_package_end, .) - 0x0604b680 _audio_dev_begin = . + 0x0604b740 _audio_dev_begin = . [!provide] PROVIDE (audio_dev_begin, .) *(.audio_device) - 0x0604b680 _audio_dev_end = . + 0x0604b740 _audio_dev_end = . [!provide] PROVIDE (audio_dev_end, .) - 0x0604b680 _audio_hwaccel_begin = . - 0x0604b680 PROVIDE (audio_hwaccel_begin, .) + 0x0604b740 _audio_hwaccel_begin = . + 0x0604b740 PROVIDE (audio_hwaccel_begin, .) *(.audio_hwaccel) .audio_hwaccel - 0x0604b680 0x24 cpu\br28\tools\sdk.elf.o - 0x0604b680 sbc_hwaccel - 0x0604b6a4 _audio_hwaccel_end = . - 0x0604b6a4 PROVIDE (audio_hwaccel_end, .) - 0x0604b6a4 . = ALIGN (0x4) - 0x0604b6a4 media_code_begin = . + 0x0604b740 0x24 cpu\br28\tools\sdk.elf.o + 0x0604b740 sbc_hwaccel + 0x0604b764 _audio_hwaccel_end = . + 0x0604b764 PROVIDE (audio_hwaccel_end, .) + 0x0604b764 . = ALIGN (0x4) + 0x0604b764 media_code_begin = . *(.media.*.text) .media.media_cpu.text - 0x0604b6a4 0x3a8c cpu\br28\tools\sdk.elf.o + 0x0604b764 0x3a86 cpu\br28\tools\sdk.elf.o .media.audio_decoder.text - 0x0604f130 0x66 cpu\br28\tools\sdk.elf.o + 0x0604f1ea 0x66 cpu\br28\tools\sdk.elf.o .media.mixer.text - 0x0604f196 0x20 cpu\br28\tools\sdk.elf.o + 0x0604f250 0x20 cpu\br28\tools\sdk.elf.o .media.bluetooth_audio.text - 0x0604f1b6 0x29a cpu\br28\tools\sdk.elf.o + 0x0604f270 0x29a cpu\br28\tools\sdk.elf.o .media.audio_encoder.text - 0x0604f450 0x2a cpu\br28\tools\sdk.elf.o - 0x0604f47c . = ALIGN (0x4) - *fill* 0x0604f47a 0x2 + 0x0604f50a 0x2a cpu\br28\tools\sdk.elf.o + 0x0604f534 . = ALIGN (0x4) *(.compressor_code) *(.compressor_const) *(.bt_compressor_const) @@ -3616,13 +3615,13 @@ END GROUP *(.vbss_const) *(.vbss_sparse_code) *(.vbss_sparse_const) - 0x0604f47c . = ALIGN (0x4) + 0x0604f534 . = ALIGN (0x4) *(.pSOUND360TD_cal_sparse_code) - 0x0604f47c . = ALIGN (0x4) + 0x0604f534 . = ALIGN (0x4) *(.g729_code) *(.g729_const) *(.cvsd_code) - .cvsd_code 0x0604f47c 0x202 cpu\br28\tools\sdk.elf.o + .cvsd_code 0x0604f534 0x202 cpu\br28\tools\sdk.elf.o *(.cvsd_const) *(.media.audio*) *(.media.mixer*) @@ -3631,22 +3630,22 @@ END GROUP *(.lib_wtg_dec_const) *(.audio_resample_code) .audio_resample_code - 0x0604f67e 0x8a cpu\br28\tools\sdk.elf.o + 0x0604f736 0x8a cpu\br28\tools\sdk.elf.o *(.audio_resample_const) *(.resample_fastcal_sparse_code) *(.resample_fastcal_code) *(.resample_fastcal_const) - 0x0604f708 audio_sync_code_begin = . + 0x0604f7c0 audio_sync_code_begin = . *(.audio_sync_code) .audio_sync_code - 0x0604f708 0x45c cpu\br28\tools\sdk.elf.o - 0x0604fb64 audio_sync_code_end = . - 0x0604fb64 . = ALIGN (0x4) - 0x0604fb64 media_code_end = . - 0x0604fb64 . = ALIGN (0x4) - 0x000044c0 media_code_size = (media_code_end - media_code_begin) - 0x0604fb64 . = ALIGN (0x4) - 0x0604fb64 media_text_end = . + 0x0604f7c0 0x45c cpu\br28\tools\sdk.elf.o + 0x0604fc1c audio_sync_code_end = . + 0x0604fc1c . = ALIGN (0x4) + 0x0604fc1c media_code_end = . + 0x0604fc1c . = ALIGN (0x4) + 0x000044b8 media_code_size = (media_code_end - media_code_begin) + 0x0604fc1c . = ALIGN (0x4) + 0x0604fc1c media_text_end = . 0x00140000 . = ORIGIN (ram0) .mmu_tlb 0x00140000 0x5000 @@ -4364,44 +4363,44 @@ END GROUP .psr_bss_code 0x02000000 0x0 0x02000000 . = ALIGN (0x4) - 0x00001ace UPDATE_CODE_TOTAL_SIZE = (update_code_end - update_code_start) + 0x00001ad2 UPDATE_CODE_TOTAL_SIZE = (update_code_end - update_code_start) 0x00000000 BTSTACK_LE_HOST_MESH_RAM_TOTAL = (BTSTACK_LE_HOST_MESH_DATA_SIZE + BTSTACK_LE_HOST_MESH_BSS_SIZE) 0x00000000 BTSTACK_LE_HOST_MESH_FLASH_TOTAL = BTSTACK_LE_HOST_MESH_CODE_SIZE 0x0000aa76 BTSTACK_CODE_SIZE = ((btstack_code_end - btstack_code_start) + (btstack_data_end - btstack_data_start)) 0x00000410 BTCTLER_LE_RAM_TOTAL = (BTCTLER_LE_CONTROLLER_DATA_SIZE + BTCTLER_LE_CONTROLLER_BSS_SIZE) - 0x00007160 BTCTLER_LE_CODE_TOTAL = BTCTLER_LE_CONTROLLER_CODE_SIZE + 0x00007168 BTCTLER_LE_CODE_TOTAL = BTCTLER_LE_CONTROLLER_CODE_SIZE 0x0000033a BTCTLER_CL_RAM_TOTAL = (BTCTLER_CL_DATA_SIZE + BTCTLER_CL_BSS_SIZE) 0x0000147c BTCTLER_CL_CODE_TOTAL = BTCTLER_CL_CODE_SIZE 0x000006e2 BTCTLER_COMMON_RAM_TOTAL = (BTCTLER_CONTROLLER_BSS_SIZE + BTCTLER_CONTROLLER_DATA_SIZE) 0x00002760 BTCTLER_COMMON_CODE_TOTAL = BTCTLER_CONTROLLER_CODE_SIZE 0x00000e2c BTCTLER_RAM_TOTAL = ((btctler_data_end - btctler_data_start) + (btctler_bss_end - btctler_bss_start)) - 0xfa1270a8 BTCTLER_CODE_TOTAL = (btctler_code_end - btctler_code_start) + 0xfa126fe4 BTCTLER_CODE_TOTAL = (btctler_code_end - btctler_code_start) 0x00000908 DRIVER_RAM_TOTAL = ((driver_data_end - driver_data_start) + (driver_bss_end - driver_bss_start)) - 0x00004778 DRIVER_CODE_TOTAL = (driver_code_end - driver_code_start) + 0x0000476c DRIVER_CODE_TOTAL = (driver_code_end - driver_code_start) 0x000016d8 DRIVER_DATA_CODE_TOTAL = (driver_data_code_end - driver_data_code_start) 0x06000100 text_begin = ADDR (.text) - 0x0004fa64 text_size = SIZEOF (.text) - 0x0604fb64 text_end = (text_begin + text_size) + 0x0004fb1c text_size = SIZEOF (.text) + 0x0604fc1c text_end = (text_begin + text_size) 0x00147fe0 bss_begin = ADDR (.bss) 0x0000b384 bss_size = SIZEOF (.bss) 0x00153364 bss_end = (bss_begin + bss_size) 0x00147040 data_addr = ADDR (.data) - 0x0604fb64 data_begin = (text_begin + text_size) + 0x0604fc1c data_begin = (text_begin + text_size) 0x00000fa0 data_size = SIZEOF (.data) 0x00158d60 moveable_slot_addr = ADDR (.moveable_slot) - 0x06050b04 moveable_slot_begin = (data_begin + data_size) + 0x06050bbc moveable_slot_begin = (data_begin + data_size) 0x00000000 moveable_slot_size = SIZEOF (.moveable_slot) 0x00153380 data_code_addr = ADDR (.data_code) - 0x06050b04 data_code_begin = (moveable_slot_begin + moveable_slot_size) + 0x06050bbc data_code_begin = (moveable_slot_begin + moveable_slot_size) 0x000059e0 data_code_size = SIZEOF (.data_code) 0x00158d60 aec_addr = ADDR (.overlay_aec) - 0x060564e4 aec_begin = (data_code_begin + data_code_size) + 0x0605659c aec_begin = (data_code_begin + data_code_size) 0x00000000 aec_size = SIZEOF (.overlay_aec) 0x00158d60 aac_addr = ADDR (.overlay_aac) - 0x060564e4 aac_begin = (aec_begin + aec_size) + 0x0605659c aac_begin = (aec_begin + aec_size) 0x00000000 aac_size = SIZEOF (.overlay_aac) 0x02000000 psr_data_code_addr = ADDR (.psr_data_code) - 0x060564e4 psr_data_code_begin = (aac_begin + aac_size) + 0x0605659c psr_data_code_begin = (aac_begin + aac_size) 0x00000000 psr_data_code_size = SIZEOF (.psr_data_code) 0x00000001 ASSERT ((_HEAP_BEGIN > bss_begin), _HEAP_BEGIN < bss_begin) 0x00000001 ASSERT ((_HEAP_BEGIN > data_addr), _HEAP_BEGIN < data_addr) @@ -4412,8 +4411,8 @@ END GROUP 0x00046e20 PROVIDE (MALLOC_SIZE, (_HEAP_END - _HEAP_BEGIN)) 0x00000001 ASSERT ((MALLOC_SIZE >= 0x8000), heap space too small !) 0x06000100 report_text_beign = ADDR (.text) - 0x0004fa64 report_text_size = SIZEOF (.text) - 0x0604fb64 report_text_end = (report_text_beign + report_text_size) + 0x0004fb1c report_text_size = SIZEOF (.text) + 0x0604fc1c report_text_end = (report_text_beign + report_text_size) 0x00140000 report_mmu_tlb_begin = ADDR (.mmu_tlb) 0x00005000 report_mmu_tlb_size = SIZEOF (.mmu_tlb) 0x00145000 report_mmu_tlb_end = (report_mmu_tlb_begin + report_mmu_tlb_size) @@ -4446,46 +4445,46 @@ LOAD C:\JL\pi32\pi32v2-lib\r3-large\libm.a LOAD C:\JL\pi32\pi32v2-lib\r3-large\libcompiler-rt.a OUTPUT(cpu\br28\tools\sdk.elf elf32-pi32v2) -.debug_str 0x00000000 0x5deb7 - .debug_str 0x00000000 0x5deb7 cpu\br28\tools\sdk.elf.o - 0x64344 (size before relaxing) +.debug_str 0x00000000 0x5ded7 + .debug_str 0x00000000 0x5ded7 cpu\br28\tools\sdk.elf.o + 0x6436b (size before relaxing) -.debug_loc 0x00000000 0x2f370 - .debug_loc 0x00000000 0x2f370 cpu\br28\tools\sdk.elf.o +.debug_loc 0x00000000 0x2f3e8 + .debug_loc 0x00000000 0x2f3e8 cpu\br28\tools\sdk.elf.o .debug_abbrev 0x00000000 0x1131 .debug_abbrev 0x00000000 0x110b cpu\br28\tools\sdk.elf.o .debug_abbrev 0x0000110b 0x26 cpu/br28/liba/cpu.a(startup.S.o) -.debug_info 0x00000000 0xf7740 - .debug_info 0x00000000 0xf754c cpu\br28\tools\sdk.elf.o - .debug_info 0x000f754c 0x1f4 cpu/br28/liba/cpu.a(startup.S.o) +.debug_info 0x00000000 0xf77ab + .debug_info 0x00000000 0xf75b7 cpu\br28\tools\sdk.elf.o + .debug_info 0x000f75b7 0x1f4 cpu/br28/liba/cpu.a(startup.S.o) -.debug_ranges 0x00000000 0x68a8 - .debug_ranges 0x00000000 0x6880 cpu\br28\tools\sdk.elf.o - .debug_ranges 0x00006880 0x28 cpu/br28/liba/cpu.a(startup.S.o) +.debug_ranges 0x00000000 0x6890 + .debug_ranges 0x00000000 0x6868 cpu\br28\tools\sdk.elf.o + .debug_ranges 0x00006868 0x28 cpu/br28/liba/cpu.a(startup.S.o) .debug_macinfo 0x00000000 0x1 .debug_macinfo 0x00000000 0x1 cpu\br28\tools\sdk.elf.o .debug_pubnames - 0x00000000 0x28a63 + 0x00000000 0x28a78 .debug_pubnames - 0x00000000 0x28a63 cpu\br28\tools\sdk.elf.o + 0x00000000 0x28a78 cpu\br28\tools\sdk.elf.o .debug_pubtypes 0x00000000 0x199c0 .debug_pubtypes 0x00000000 0x199c0 cpu\br28\tools\sdk.elf.o -.debug_frame 0x00000000 0xf880 - .debug_frame 0x00000000 0xf880 cpu\br28\tools\sdk.elf.o +.debug_frame 0x00000000 0xf8a4 + .debug_frame 0x00000000 0xf8a4 cpu\br28\tools\sdk.elf.o -.debug_line 0x00000000 0x643aa - .debug_line 0x00000000 0x64251 cpu\br28\tools\sdk.elf.o - .debug_line 0x00064251 0x30 obj/Release/apps/earphone/sdk_version.z.o - .debug_line 0x00064281 0x129 cpu/br28/liba/cpu.a(startup.S.o) +.debug_line 0x00000000 0x644ef + .debug_line 0x00000000 0x64396 cpu\br28\tools\sdk.elf.o + .debug_line 0x00064396 0x30 obj/Release/apps/earphone/sdk_version.z.o + .debug_line 0x000643c6 0x129 cpu/br28/liba/cpu.a(startup.S.o) .debug_aranges 0x00000000 0x28 .debug_aranges diff --git a/obj/Release/apps/usr_le_code/usr_le_recieve.o b/obj/Release/apps/usr_le_code/usr_le_recieve.o index 8c3bb90..3ceec65 100644 Binary files a/obj/Release/apps/usr_le_code/usr_le_recieve.o and b/obj/Release/apps/usr_le_code/usr_le_recieve.o differ