Compare commits
2 Commits
a96264ec36
...
8828f24549
| Author | SHA1 | Date | |
|---|---|---|---|
| 8828f24549 | |||
| 830b4637dd |
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -17,6 +17,8 @@
|
||||
"key_event_deal.h": "c",
|
||||
"app_umidigi_chargestore.h": "c",
|
||||
"hci_lmp.h": "c",
|
||||
"bluetooth.h": "c"
|
||||
"bluetooth.h": "c",
|
||||
"SCU722.C": "cpp",
|
||||
"math.h": "c"
|
||||
}
|
||||
}
|
||||
1
Makefile
1
Makefile
@ -617,6 +617,7 @@ c_SRC_FILES := \
|
||||
apps/earphone/xtell_Sensor/send_data.c \
|
||||
apps/earphone/xtell_Sensor/buffer/circle_buffer.c \
|
||||
apps/earphone/xtell_Sensor/sensor/LIS2DH12.c \
|
||||
apps/earphone/xtell_Sensor/sensor/SCU722.c \
|
||||
|
||||
|
||||
# 需要编译的 .S 文件
|
||||
|
||||
@ -1664,11 +1664,11 @@ void send_data_to_ble_client(const u8* data, u16 length)
|
||||
// 发送数据
|
||||
int ret = app_send_user_data(ATT_CHARACTERISTIC_ae02_01_VALUE_HANDLE, data, length, ATT_OP_NOTIFY);
|
||||
if (ret == 0) { // 假设 0 表示成功
|
||||
printf("Data sent successfully: Length %d\n", length);
|
||||
// printf("Data sent successfully: Length %d\n", length);
|
||||
} else {
|
||||
printf("Failed to send data: Length %d, Error code: %d\n", length, ret);
|
||||
// printf("Failed to send data: Length %d, Error code: %d\n", length, ret);
|
||||
}
|
||||
} else {
|
||||
printf("Insufficient buffer space to send data: Length %d\n", length);
|
||||
// printf("Insufficient buffer space to send data: Length %d\n", length);
|
||||
}
|
||||
}
|
||||
@ -85,13 +85,16 @@ void collect_and_buffer_sensor_data_task(void) {
|
||||
}
|
||||
}
|
||||
|
||||
// 定义数组大小
|
||||
#define ARRAY_SIZE (178)
|
||||
// 在 main 函数外部声明为全局变量,它将被存储在静态数据区
|
||||
unsigned char global_data_array[ARRAY_SIZE];
|
||||
|
||||
// 从环形缓冲区读取数据并发送
|
||||
void send_sensor_data_task(void) {
|
||||
|
||||
//查询开关机状态
|
||||
u8 temp[5]={0xBB,0xBE,0x02,0x00,0x00};
|
||||
printf("xtell_ble_send\n");
|
||||
send_data_to_ble_client(&temp,5);
|
||||
// printf("xtell_ble_send\n");
|
||||
send_data_to_ble_client(&global_data_array,ARRAY_SIZE);
|
||||
}
|
||||
|
||||
extern void create_process(u16* pid, const char* name, void *priv, void (*func)(void *priv), u32 msec);
|
||||
@ -101,26 +104,25 @@ void rcsp_adv_fill_mac_addr(u8 *mac_addr_buf) //by xtell
|
||||
swapX(bt_get_mac_addr(), mac_addr_buf, 6);
|
||||
}
|
||||
|
||||
|
||||
void xtell_task_create(void){
|
||||
|
||||
xlog("xtell_task_create\n");
|
||||
//开经典蓝牙
|
||||
// user_send_cmd_prepare(USER_CTRL_WRITE_SCAN_ENABLE, 0, NULL); //打开蓝牙可发现,已连接时不能操作
|
||||
// delay_2ms(50);
|
||||
// user_send_cmd_prepare(USER_CTRL_WRITE_CONN_ENABLE, 0, NULL); //打开蓝牙可连接
|
||||
// delay_2ms(50);
|
||||
// connect_last_device_from_vm(); //自动回连上一个设备
|
||||
//写入测试数据
|
||||
for (int i = 0; i < ARRAY_SIZE; i++) { //ARRAY_SIZE字节的数组
|
||||
global_data_array[i] = i % 256;
|
||||
}
|
||||
|
||||
// 初始化环形缓冲区
|
||||
circle_buffer_init(&sensor_cb, sensor_data_buffer, SENSOR_DATA_BUFFER_SIZE);
|
||||
|
||||
|
||||
// 创建一个定时器,每200ms调用一次核心计算任务
|
||||
create_process(&xtell_i2c_test_id, "xtell_i2c_test", NULL, xtell_i2c_test, (u32)(SAMPLING_PERIOD_S * 1000));
|
||||
// create_process(&xtell_i2c_test_id, "xtell_i2c_test", NULL, xtell_i2c_test, (u32)(SAMPLING_PERIOD_S * 1000));
|
||||
|
||||
// 创建一个定时器,每1000ms采集一次数据
|
||||
create_process(&collect_data_id, "collect_data", NULL, collect_and_buffer_sensor_data_task, 1000);
|
||||
// create_process(&collect_data_id, "collect_data", NULL, collect_and_buffer_sensor_data_task, 1000);
|
||||
|
||||
// 创建一个定时器,每200ms尝试发送一次数据
|
||||
create_process(&send_data_id, "send_data", NULL, send_sensor_data_task, 200);
|
||||
create_process(&send_data_id, "send_data", NULL, send_sensor_data_task, 1);
|
||||
}
|
||||
|
||||
@ -81,10 +81,10 @@ axis_info_xtell gsensor_xtell; // 存储is_sensor_stable计算出的平均值
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//实现
|
||||
// --- I2C底层函数封装 ---
|
||||
u32 SL_MEMS_i2cRead(u8 addr, u8 reg, u8 len, u8 *buf) {
|
||||
static u32 SL_MEMS_i2cRead(u8 addr, u8 reg, u8 len, u8 *buf) {
|
||||
return _gravity_sensor_get_ndata(addr, reg, buf, len);
|
||||
}
|
||||
u8 SL_MEMS_i2cWrite(u8 addr, u8 reg, u8 data) {
|
||||
static u8 SL_MEMS_i2cWrite(u8 addr, u8 reg, u8 data) {
|
||||
gravity_sensor_command(addr, reg, data);
|
||||
return 0;
|
||||
}
|
||||
|
||||
1019
apps/earphone/xtell_Sensor/sensor/SCU722.c
Normal file
1019
apps/earphone/xtell_Sensor/sensor/SCU722.c
Normal file
File diff suppressed because it is too large
Load Diff
138
apps/earphone/xtell_Sensor/sensor/SCU722.h
Normal file
138
apps/earphone/xtell_Sensor/sensor/SCU722.h
Normal file
@ -0,0 +1,138 @@
|
||||
/**************************************************
|
||||
Copyright (c) 2022 Silan MEMS. All Rights Reserved.
|
||||
@Silan MEMS Sensor Product Line
|
||||
@Code Author:Zhou Min
|
||||
**************************************************/
|
||||
|
||||
#ifndef __SCU722_H__
|
||||
#define __SCU722_H__
|
||||
|
||||
#include "gSensor/gSensor_manage.h"
|
||||
#include "printf.h"
|
||||
|
||||
//是否使能串口打印调试
|
||||
#define SL_Sensor_Algo_Release_Enable 0x01
|
||||
//是否开启FIFO模式,默认STREAM模式
|
||||
#define SL_SC7U22_FIFO_ENABLE 0x00
|
||||
|
||||
|
||||
/***使用前请根据实际情况配置以下参数******/
|
||||
/**SC7U22的SDO 接地: 0****************/
|
||||
/**SC7U22的SDO 接电源:1****************/
|
||||
#define SL_SC7U22_SDO_VDD_GND 1
|
||||
/*****************************************/
|
||||
/***使用前请根据实际IIC地址配置参数***/
|
||||
/**SC7U22的IIC 接口地址为 7bits: 0****/
|
||||
/**SC7U22的IIC 接口地址为 8bits: 1****/
|
||||
#define SL_SC7U22_IIC_7BITS_8BITS 0
|
||||
/*****************************************/
|
||||
#if SL_SC7U22_SDO_VDD_GND==0
|
||||
#define SL_SC7U22_IIC_7BITS_ADDR 0x18
|
||||
#define SL_SC7U22_IIC_8BITS_WRITE_ADDR 0x30
|
||||
#define SL_SC7U22_IIC_8BITS_READ_ADDR 0x31
|
||||
#else
|
||||
#define SL_SC7U22_IIC_7BITS_ADDR 0x19
|
||||
#define SL_SC7U22_IIC_8BITS_WRITE_ADDR 0x32
|
||||
#define SL_SC7U22_IIC_8BITS_READ_ADDR 0x33
|
||||
#endif
|
||||
#if SL_SC7U22_IIC_7BITS_8BITS==0
|
||||
#define SL_SC7U22_IIC_ADDRESS SL_SC7U22_IIC_7BITS_ADDR
|
||||
#else
|
||||
#define SL_SC7U22_IIC_WRITE_ADDRESS SL_SC7U22_IIC_8BITS_WRITE_ADDR
|
||||
#define SL_SC7U22_IIC_READ_ADDRESS SL_SC7U22_IIC_8BITS_READ_ADDR
|
||||
#endif
|
||||
|
||||
unsigned char SL_SC7U22_I2c_Spi_Write(unsigned char sl_spi_iic, unsigned char reg, unsigned char dat);
|
||||
unsigned char SL_SC7U22_I2c_Spi_Read(unsigned char sl_spi_iic, unsigned char reg, unsigned short len, unsigned char* buf);
|
||||
|
||||
/*************I2C通信检测函数******************/
|
||||
unsigned char SL_SC7U22_Check(void);
|
||||
/*************函数返回值*****************/
|
||||
/**return : 1 IIC通信正常,IC正常**************/
|
||||
/**return : 0 IIC通信异常,IC异常**********/
|
||||
|
||||
/*************传感器初始化函数*******************/
|
||||
unsigned char SL_SC7U22_Config(void);
|
||||
/*************函数返回值*****************/
|
||||
/**return : 1 IIC通信正常,IC正常*************/
|
||||
/**return : 0; IIC通信异常,IC异常*********/
|
||||
|
||||
/*************SC7U22 Sensor Time**************/
|
||||
unsigned int SL_SC7U22_TimeStamp_Read(void);
|
||||
/*************函数返回值*****************/
|
||||
/**return : 内部传感器时间***************/
|
||||
|
||||
#if SL_SC7U22_FIFO_ENABLE ==0x00
|
||||
/******实时读取数据寄存器数据,相当于从400Hz的FIFO中取出数据******/
|
||||
void SL_SC7U22_RawData_Read(signed short* acc_data_buf, signed short* gyr_data_buf);
|
||||
/************* 输入XYZ三轴数据存放的地址*****************/
|
||||
/************* *acc_data_buf: ACC数据***********************/
|
||||
/************* *gyr_data_buf: GYR数据***********************/
|
||||
|
||||
#else
|
||||
/******实时读取数据寄存器FIFO数据******/
|
||||
unsigned short SL_SC7U22_FIFO_Read(signed short* accx_buf, signed short* accy_buf, signed short* accz_buf, signed short* gyrx_buf, signed short* gyry_buf, signed short* gyrz_buf);
|
||||
/*************输入XYZ三轴数据首地址**************************/
|
||||
/*************accx_buf[0]: ACC_X的第一个数据**************/
|
||||
/*************accy_buf[0]: ACC_Y的第一个数据**************/
|
||||
/*************accz_buf[0]: ACC_Z的第一个数据**************/
|
||||
/*************gyrx_buf[0]: GYR_X的第一个数据**************/
|
||||
/*************gyry_buf[0]: GYR_Y的第一个数据**************/
|
||||
/*************gyrz_buf[0]: GYR_Z的第一个数据**************/
|
||||
/****************函数返回值****************************/
|
||||
/**return : len 表示数组长度*************************/
|
||||
#endif
|
||||
|
||||
/*********进入传感器关闭模式*************/
|
||||
unsigned char SL_SC7U22_POWER_DOWN(void);
|
||||
/**0: 关闭模式失败***********************/
|
||||
/**1: 关闭模式成功***********************/
|
||||
|
||||
/*********SC7U22 RESET***************/
|
||||
unsigned char SL_SC7U22_SOFT_RESET(void);
|
||||
/**0: 成功*****************************/
|
||||
/**1: 失败**************************/
|
||||
|
||||
/*************GSensor and GyroSensor开启和关闭函数*********/
|
||||
unsigned char SL_SC7U22_Open_Close_SET(unsigned char acc_enable,unsigned char gyro_enable);
|
||||
/**acc_enable: 0=关闭ACC Sensor; 1=开启ACC Sensor*********/
|
||||
/**gyro_enable: 0=关闭GYRO Sensor; 1=开启GYRO Sensor*******/
|
||||
/**return: 0=设置失败,1=设置成功**************************/
|
||||
|
||||
/*********进入睡眠模式并开启中断函数*************/
|
||||
unsigned char SL_SC7U22_IN_SLEEP_SET(unsigned char acc_odr,unsigned char vth,unsigned char tth,unsigned char int_io);
|
||||
/**acc_odr: 12/25/50**************************************/
|
||||
/**vth: 运动检测,阈值参数****************************/
|
||||
/**tth: 运动检测,持续时间阈值,小于该时间则过滤**********/
|
||||
/**int_io: 1=INT1, 2=INT2*********************************/
|
||||
/**return: 0=设置失败,1=设置成功**************************/
|
||||
|
||||
/*********进入唤醒模式,设置参数并关闭中断函数***********/
|
||||
unsigned char SL_SC7U22_WakeUp_SET(unsigned char odr_mode,unsigned char acc_range,unsigned char acc_hp_en,unsigned short gyro_range,unsigned char gyro_hp_en);
|
||||
/**odr_mode: 25HZ/50Hz/100Hz/200Hz ACC+GYRO***************/
|
||||
/**acc_range: ±2G/±4G/±8G/±16G*****************************/
|
||||
/**acc_hp_en: 0=关闭高性能模式;1=开启*****/
|
||||
/**gyro_range: ±125dps/±250dps/±500dps/±1000dps/±2000dps***/
|
||||
/**gyro_hp_en: 0=关闭高性能模式;1=开启高性能模式; ********/
|
||||
/**return: 0=设置失败,1=设置成功**************************/
|
||||
|
||||
/*********SC7U22 Angle Cauculate***************/
|
||||
unsigned char SL_SC7U22_Angle_Output(unsigned char calibration_en,signed short *acc_gyro_input,float *Angle_output, unsigned char yaw_rst);
|
||||
/**in calibration_en: 1=enable 0=disable***********************/
|
||||
/**in/out acc_gyro_input[0]: ACC-X*****************************/
|
||||
/**in/out acc_gyro_input[1]: ACC-Y*****************************/
|
||||
/**in/out acc_gyro_input[2]: ACC-Z*****************************/
|
||||
/**in/out acc_gyro_input[3]: GYR-X*****************************/
|
||||
/**in/out acc_gyro_input[4]: GYR-Y*****************************/
|
||||
/**in/out acc_gyro_input[5]: GYR-Z*****************************/
|
||||
/**output Angle_output[0]: Pitch*****************************/
|
||||
/**output Angle_output[1]: Roll******************************/
|
||||
/**output Angle_output[2]: Yaw*******************************/
|
||||
/**input yaw_rst: reset yaw value***************************/
|
||||
|
||||
|
||||
/**寄存器宏定义*******************************/
|
||||
#define SC7U22_WHO_AM_I 0x01
|
||||
|
||||
|
||||
#endif // __SCU722_H__
|
||||
0
apps/earphone/xtell_Sensor/sensor/SCU722_Ma.c
Normal file
0
apps/earphone/xtell_Sensor/sensor/SCU722_Ma.c
Normal file
@ -51,7 +51,7 @@
|
||||
#define LOG_TAG "[EARPHONE]"
|
||||
#define LOG_ERROR_ENABLE
|
||||
#define LOG_DEBUG_ENABLE
|
||||
#define LOG_INFO_ENABLE
|
||||
#define xlog_ENABLE
|
||||
|
||||
|
||||
#if(USE_DMA_UART_TEST) //使用dm串口测试时不能同时打开
|
||||
@ -212,7 +212,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
/*
|
||||
* 蓝牙初始化完成
|
||||
*/
|
||||
log_info("BT_STATUS_INIT_OK\n");
|
||||
xlog("BT_STATUS_INIT_OK\n");
|
||||
init_ok = 1;
|
||||
__set_sbc_cap_bitpool(38);
|
||||
|
||||
@ -248,7 +248,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
case BT_STATUS_SECOND_CONNECTED:
|
||||
clear_current_poweron_memory_search_index(0);
|
||||
case BT_STATUS_FIRST_CONNECTED:
|
||||
log_info("BT_STATUS_CONNECTED\n");
|
||||
xlog("BT_STATUS_CONNECTED\n");
|
||||
xtell_bl_state = 1; //蓝牙连接成功 置1
|
||||
if(strcmp(xt_ble_new_name,"CM-1111") != 0){
|
||||
//蓝牙连接成功
|
||||
@ -264,7 +264,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
|
||||
/* tone_play(TONE_CONN); */
|
||||
/*os_time_dly(40); // for test*/
|
||||
log_info("tone status:%d\n", tone_get_status());
|
||||
xlog("tone status:%d\n", tone_get_status());
|
||||
if (get_call_status() == BT_CALL_HANGUP) {
|
||||
if (app_var.phone_dly_discon_time) {
|
||||
sys_timeout_del(app_var.phone_dly_discon_time);
|
||||
@ -275,12 +275,13 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*int timeout = 5000 + rand32() % 10000;
|
||||
sys_timeout_add(NULL, connect_phone_test, timeout);*/
|
||||
break;
|
||||
case BT_STATUS_FIRST_DISCONNECT:
|
||||
case BT_STATUS_SECOND_DISCONNECT:
|
||||
log_info("BT_STATUS_DISCONNECT\n");
|
||||
xlog("BT_STATUS_DISCONNECT\n");
|
||||
xtell_bl_state = 0; //断开蓝牙 清0
|
||||
//蓝牙断开连接
|
||||
if(bt_newname){ //已经改成新蓝牙名字,断开才播报
|
||||
@ -315,7 +316,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
|
||||
break;
|
||||
case BT_STATUS_SNIFF_STATE_UPDATE:
|
||||
log_info(" BT_STATUS_SNIFF_STATE_UPDATE %d\n", bt->value); //0退出SNIFF
|
||||
xlog(" BT_STATUS_SNIFF_STATE_UPDATE %d\n", bt->value); //0退出SNIFF
|
||||
if (bt->value == 0) {
|
||||
sniff_out = 1;
|
||||
sys_auto_sniff_controle(MY_SNIFF_EN, bt->args);
|
||||
@ -344,10 +345,10 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
|
||||
break;
|
||||
case BT_STATUS_AVRCP_INCOME_OPID:
|
||||
log_info("BT_STATUS_AVRCP_INCOME_OPID:%d\n", bt->value);
|
||||
xlog("BT_STATUS_AVRCP_INCOME_OPID:%d\n", bt->value);
|
||||
break;
|
||||
default:
|
||||
log_info(" BT STATUS DEFAULT\n");
|
||||
xlog(" BT STATUS DEFAULT\n");
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -6310,7 +6310,6 @@ objs/apps/earphone/xtell_Sensor/xtell_handler.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rcsp_sys_event_handler_specific,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,default_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_tone_config,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,log_print,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,__set_sbc_cap_bitpool,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ble_bqb_test_thread_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_ble_init,l
|
||||
@ -6355,8 +6354,7 @@ objs/apps/earphone/xtell_Sensor/send_data.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,xtell_task_create,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,circle_buffer_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,create_process,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,xtell_i2c_test,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,puts,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,global_data_array,pl
|
||||
objs/apps/earphone/xtell_Sensor/buffer/circle_buffer.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/buffer/circle_buffer.c.o,circle_buffer_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/buffer/circle_buffer.c.o,circle_buffer_write,pl
|
||||
@ -6364,10 +6362,6 @@ objs/apps/earphone/xtell_Sensor/buffer/circle_buffer.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/buffer/circle_buffer.c.o,circle_buffer_read,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/buffer/circle_buffer.c.o,circle_buffer_get_size,pl
|
||||
objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,SL_MEMS_i2cRead,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,_gravity_sensor_get_ndata,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,SL_MEMS_i2cWrite,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,gravity_sensor_command,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,LIS2DH12_Check,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,LIS2DH12_read_data,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,LIS2DH12_calibrate,pl
|
||||
@ -6381,12 +6375,65 @@ objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,xtell_i2c_test,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,fabsf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,sqrtf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,_gravity_sensor_get_ndata,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,gravity_sensor_command,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,dormancy_flag,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,dormancy_ago_moedl,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,gsensor_xtell,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,current_data,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,gsensor_static_flag,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/LIS2DH12.c.o,gsensor_alarm,pl
|
||||
objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_I2c_Spi_Write,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_I2c_Spi_Read,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Check,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Config,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_POWER_DOWN,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_SOFT_RESET,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,os_time_dly,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_TimeStamp_Read,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_RawData_Read,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Open_Close_SET,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_IN_SLEEP_SET,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_WakeUp_SET,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Angle_Output,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,asinf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,atanf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,gravity_sensor_command,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,_gravity_sensor_get_ndata,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,angle,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,angle_dot,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,angle0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,angle_dot0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Q_angle,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Q_gyro,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,R_angle,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,dt,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,P,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,P0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,P1,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,P2,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Pdot0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Pdot1,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Pdot2,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,C_0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,C_1,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,C_2,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,q_bias0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,angle_err0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,PCt0_0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,PCt0_1,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,E0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,K0_0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,K0_1,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,t0_0,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,t0_1,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Error_Flag,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Error_cnt,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,SL_SC7U22_Error_cnt2,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Temp_Accgyro,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Error_Accgyro,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o,Sum_Avg_Accgyro,pl
|
||||
cpu/br28/liba/cpu.a.llvm.19376.crc16.c
|
||||
-r=cpu/br28/liba/cpu.a.llvm.19376.crc16.c,__crc16_mutex_init,pl
|
||||
-r=cpu/br28/liba/cpu.a.llvm.19376.crc16.c,os_mutex_create,l
|
||||
|
||||
339212
cpu/br28/tools/sdk.lst
339212
cpu/br28/tools/sdk.lst
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
132
objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.d
Normal file
132
objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.d
Normal file
@ -0,0 +1,132 @@
|
||||
objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o: \
|
||||
apps/earphone/xtell_Sensor/sensor/SCU722.c \
|
||||
apps/earphone/xtell_Sensor/sensor/SCU722.h \
|
||||
apps/common/device\gSensor/gSensor_manage.h \
|
||||
include_lib/system/generic\printf.h \
|
||||
include_lib/system/generic/typedef.h \
|
||||
include_lib/driver/cpu/br28\asm/cpu.h \
|
||||
include_lib/driver/cpu/br28\asm/br28.h \
|
||||
include_lib/driver/cpu/br28\asm/io_omap.h \
|
||||
include_lib/driver/cpu/br28\asm/io_imap.h \
|
||||
include_lib/driver/cpu/br28\asm/csfr.h \
|
||||
include_lib/driver/cpu/br28\asm/cache.h \
|
||||
include_lib/driver/cpu/br28\asm/irq.h \
|
||||
include_lib/driver/cpu/br28\asm/hwi.h \
|
||||
include_lib/system\generic/printf.h include_lib\system/generic/log.h \
|
||||
include_lib\system/generic/printf.h \
|
||||
include_lib/system\generic/errno-base.h \
|
||||
C:/JL/pi32/pi32v2-include\string.h C:/JL/pi32/pi32v2-include/_ansi.h \
|
||||
C:/JL/pi32/pi32v2-include\newlib.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/config.h \
|
||||
C:/JL/pi32/pi32v2-include\machine/ieeefp.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/features.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/reent.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/_types.h \
|
||||
C:/JL/pi32/pi32v2-include\machine/_types.h \
|
||||
C:/JL/pi32/pi32v2-include\machine/_default_types.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/lock.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/cdefs.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/string.h \
|
||||
C:/JL/pi32/pi32v2-include\strings.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/types.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/_stdint.h \
|
||||
C:/JL/pi32/pi32v2-include\machine/types.h include_lib\system/malloc.h \
|
||||
include_lib/system/generic\cpu.h \
|
||||
include_lib/driver/cpu/br28\asm/iic_hw.h \
|
||||
include_lib/driver/cpu/br28\asm/iic_soft.h include_lib/system\timer.h \
|
||||
include_lib/system/generic/list.h apps/earphone/include\app_config.h \
|
||||
apps/earphone/board/br28\board_config.h include_lib\media/audio_def.h \
|
||||
apps/earphone/board/br28/board_jl701n_demo_cfg.h \
|
||||
apps/earphone/board/br28/board_jl701n_demo_global_build_cfg.h \
|
||||
apps/common/device/usb\usb_std_class_def.h \
|
||||
apps/earphone/board/br28/board_jl701n_btemitter_cfg.h \
|
||||
apps/earphone/board/br28/board_jl701n_btemitter_global_build_cfg.h \
|
||||
apps/earphone/board/br28/board_jl701n_anc_cfg.h \
|
||||
apps/earphone/board/br28/board_jl701n_anc_global_build_cfg.h \
|
||||
apps/earphone/board/br28/board_jl7016g_hybrid_cfg.h \
|
||||
apps/earphone/board/br28/board_jl7016g_hybrid_global_build_cfg.h \
|
||||
apps/earphone/board/br28/board_jl7018f_demo_cfg.h \
|
||||
apps/earphone/board/br28/board_jl7018f_demo_global_build_cfg.h \
|
||||
apps/common/device/usb\usb_common_def.h \
|
||||
include_lib/btctrler\btcontroller_mode.h \
|
||||
apps/earphone/include/user_cfg_id.h \
|
||||
apps/common/config/include\bt_profile_cfg.h \
|
||||
include_lib/btctrler\btcontroller_modules.h \
|
||||
include_lib/btctrler/hci_transport.h include_lib/btctrler/ble/hci_ll.h \
|
||||
C:/JL/pi32/pi32v2-include\stdint.h \
|
||||
C:/JL/pi32/pi32v2-include\sys/_intsup.h \
|
||||
C:/JL/pi32/pi32v2-include\stdlib.h \
|
||||
C:/JL/pi32/pi32v2-include\machine/stdlib.h \
|
||||
C:/JL/pi32/pi32v2-include\alloca.h \
|
||||
include_lib/btctrler/classic/hci_lmp.h include_lib/system\event.h \
|
||||
include_lib/system/generic/rect.h include_lib\system/includes.h \
|
||||
include_lib/system/init.h include_lib/system/spinlock.h \
|
||||
include_lib/system/generic\irq.h include_lib/system/task.h \
|
||||
include_lib/system/os/os_api.h include_lib/system\os/os_cpu.h \
|
||||
include_lib/system/generic\jiffies.h include_lib/system\os/os_error.h \
|
||||
include_lib/system\os/os_type.h include_lib/system\os/ucos_ii.h \
|
||||
include_lib/system\os/os_cfg.h include_lib/system\os/os_api.h \
|
||||
include_lib/system/wait.h include_lib/system/app_core.h \
|
||||
include_lib/system/app_msg.h include_lib/system/database.h \
|
||||
include_lib/system/fs/fs.h include_lib/system\generic/ioctl.h \
|
||||
include_lib/system\generic/atomic.h include_lib\system/sys_time.h \
|
||||
include_lib/system/fs/fs_file_name.h include_lib/system/fs/sdfile.h \
|
||||
include_lib/system/power_manage.h include_lib/system/syscfg_id.h \
|
||||
include_lib/system/bank_switch.h include_lib/system/generic/includes.h \
|
||||
include_lib/system/generic/ascii.h include_lib/system/generic/gpio.h \
|
||||
include_lib/driver/cpu/br28\asm/gpio.h \
|
||||
include_lib/system/generic/version.h include_lib/system/generic/lbuf.h \
|
||||
include_lib/system/generic/lbuf_lite.h \
|
||||
include_lib/system/generic/circular_buf.h \
|
||||
include_lib/system/generic/index.h \
|
||||
include_lib/system/generic/debug_lite.h \
|
||||
include_lib/system/device/includes.h \
|
||||
include_lib/system/device/device.h \
|
||||
include_lib/system\device/ioctl_cmds.h \
|
||||
include_lib/system/device/key_driver.h \
|
||||
include_lib/system/device/iokey.h include_lib/system/device/irkey.h \
|
||||
include_lib/system/device/adkey.h \
|
||||
include_lib/driver/cpu/br28\asm/adc_api.h \
|
||||
include_lib/system/device/slidekey.h \
|
||||
include_lib/system/device/touch_key.h \
|
||||
include_lib/driver/cpu/br28\asm/plcnt.h \
|
||||
include_lib/system/device/rdec_key.h \
|
||||
include_lib/driver/cpu/br28\asm/rdec.h \
|
||||
include_lib/driver/cpu/br28\asm/includes.h \
|
||||
include_lib/driver/cpu/br28\asm/crc16.h \
|
||||
include_lib/driver/cpu/br28\asm/clock.h \
|
||||
include_lib/driver/cpu/br28\asm/clock_hw.h \
|
||||
include_lib/driver/cpu/br28\asm/clock_define.h \
|
||||
include_lib/driver/cpu/br28\asm/uart.h \
|
||||
include_lib/driver\device/uart.h \
|
||||
include_lib/driver/cpu/br28\asm/uart_dev.h \
|
||||
include_lib/driver/cpu/br28\asm/spiflash.h \
|
||||
include_lib/driver\device/spiflash.h \
|
||||
include_lib/driver/cpu/br28\asm/power_interface.h \
|
||||
include_lib/driver/cpu/br28\asm/power/p33.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p33_sfr.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p33_app.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p33_io_app.h \
|
||||
include_lib/driver/cpu/br28/asm/power/rtc_app.h \
|
||||
include_lib/driver/cpu/br28\asm/power/p11.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p11_csfr.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p11_sfr.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p11_io_omap.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p11_io_imap.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p11_app.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p11.h \
|
||||
include_lib/driver/cpu/br28\asm/power/power_api.h \
|
||||
include_lib/driver/cpu/br28\asm/power/power_port.h \
|
||||
include_lib/driver/cpu/br28\asm/power/power_wakeup.h \
|
||||
include_lib/driver/cpu/br28\asm/power/power_reset.h \
|
||||
include_lib/driver/cpu/br28\asm/power/power_compat.h \
|
||||
include_lib/driver/cpu/br28\asm/power/lp_ipc.h \
|
||||
include_lib/driver/cpu/br28/asm/power/m2p_msg.h \
|
||||
include_lib/driver/cpu/br28/asm/power/p2m_msg.h \
|
||||
include_lib/driver/cpu/br28\asm/efuse.h \
|
||||
include_lib/driver/cpu/br28\asm/wdt.h \
|
||||
include_lib/driver/cpu/br28\asm/debug.h \
|
||||
include_lib/driver/cpu/br28\asm/timer.h \
|
||||
include_lib/driver/cpu/br28\asm/rtc.h \
|
||||
include_lib/driver\device/sdio_host_init.h \
|
||||
C:/JL/pi32/pi32v2-include\math.h
|
||||
BIN
objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o
Normal file
BIN
objs/apps/earphone/xtell_Sensor/sensor/SCU722.c.o
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
objs/apps/earphone//xtell_Sensor/xtell_app_main.c.o: \
|
||||
apps/earphone//xtell_Sensor/xtell_app_main.c \
|
||||
objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o: \
|
||||
apps/earphone/xtell_Sensor/xtell_app_main.c \
|
||||
include_lib\system/includes.h include_lib/system/init.h \
|
||||
include_lib/system/event.h include_lib/system/generic/typedef.h \
|
||||
include_lib/driver/cpu/br28\asm/cpu.h \
|
||||
|
||||
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
objs/apps/earphone//xtell_Sensor/xtell_handler.c.o: \
|
||||
apps/earphone//xtell_Sensor/xtell_handler.c \
|
||||
objs/apps/earphone/xtell_Sensor/xtell_handler.c.o: \
|
||||
apps/earphone/xtell_Sensor/xtell_handler.c \
|
||||
include_lib\system/includes.h include_lib/system/init.h \
|
||||
include_lib/system/event.h include_lib/system/generic/typedef.h \
|
||||
include_lib/driver/cpu/br28\asm/cpu.h \
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user